Skip to content

homemadegarbage/r3f-gallery-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

r3f-gallery-template

🔗 Live Demo:
https://expo.homemadegarbage.com/demo/r3f-gallery-template/

Minimal virtual gallery template built with React Three Fiber.

A simple starter project for building walkable 3D gallery spaces on the web using React, Three.js, and @react-three/fiber.


✨ Features

  • Walkable first-person camera
  • Image panels with modal view
  • React Three Fiber + drei
  • Vite + React
  • Tailwind CSS
  • Lightweight and customizable

📦 Tech Stack

  • React 19
  • Three.js
  • @react-three/fiber
  • @react-three/drei
  • Vite
  • Tailwind CSS

🚀 Getting Started

1. Clone

git clone https://github.com/homemadegarbage/r3f-gallery-template.git
cd r3f-gallery-template

2. Install

npm install

3. Run

npm run dev

Open in browser:

http://localhost:5173


🖼️ Customization

Add Images

Edit:

src/data/pictures.js

Add or modify items in the pictures array.


Change Room Layout

Edit:

src/components/Room.jsx


Camera / Controls

Edit:

src/components/Player.jsx


📄 License

MIT


📚 Credits

Textures:


🏠️ Author

Created by HomeMadeGarbage

About

Minimal virtual gallery template built with React Three Fiber.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors