Skip to content
CelicularPublic

About

Generative 3D QR experience that transforms URLs into interactive voxel gardens, combining WebGL exploration, procedural environments, dynamic seasons, weather, and fully scannable QR codes.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

GardenQR Logo

🌸 GardenQR

Generative 3D Voxel QR Code Art & Interactive Nature Diorama Engine

License: MIT Three.js Vite WebGL Author


Turn any URL into a living, scannable 3D voxel nature diorama.
Walk, sprint, sit beneath blooming sakura trees, and explore seasonal weather in real-time WebGL.

🌐 Launch Live Application »


GardenQR Cinematic Banner


🌟 Overview: The Dual-State Paradigm

GardenQR bridges the gap between functional utility (scannable QR codes) and high-end 3D game art (isometric voxel nature dioramas).

Dual-State QR Morphing Showcase
  • State A — 3D Nature Island Diorama (Isometric View):
    A lush floating garden featuring a blooming cherry blossom tree, an alpine mountain with a cascading waterfall pouring into a lotus pond, a royal Rajasthani chhatri pavilion, and a traditional torana entrance gateway.
  • State B — Scannable Pixel-Art QR Code (Top-Down Orthographic View):
    With a tap, the camera glides upward and the 3D meshes seamlessly resolve into a 100% camera-scannable QR code using High-Level error correction (Level H). Finder patterns are formed by garden hedges and planters, while data modules are formed by canopy foliage and sandstone paving tiles.

✨ Key Features

🚶 1. Interactive 3D Avatar Explorer Mode

Step onto the island as an explorer with fully articulated limbs, expressive features, and third-person/first-person locomotion.

3D Avatar Explorer Mode
  • Locomotion: Smooth WASD walk & sprint with directional character rotation and gravity-based jumping.
  • Carved Sandstone Benches: Walk up to any carved bench in the park and press E to sit down and enjoy the scenery.
  • Face-Up Sky Rest: Press X to lie flat on the grass facing up at the sky, watching petals and stars drift overhead.
  • Pointer Lock Mouse Look: Press L for immersive free-look camera control.

🍂 2. Indian Heritage Seasons & Weather ("Shahi Ritus")

Experience 4 dynamic seasons with real-time day/night cycles, lighting transitions, and physical weather particles:

Seasonal Themes Grid
Season Theme & Atmosphere Weather Particles Paving & Foliage
🌸 Spring Vasant Ritu • Holi Gulal warm sunlight Swirling Sakura Petals Pink Cherry Blossoms & Kota Sandstone
☀️ Summer Grishma Ritu • Golden radiant sunlight Sun Dust Sparkles Lush Emerald Neem & Jaisalmer Yellow Stone
🍁 Autumn Sharad Ritu • Diwali amber twilight Falling Maple Leaves Deep Saffron Orange & Rustic Terracotta
❄️ Winter Shishir Ritu • Himalayan morning frost Gentle Snowfall Frost Pine & Frosted Grey Slate

🌲 3. Procedural 3D Tree Studio

Customize every aspect of the centerpiece tree in real time via the Tree Studio drawer:

  • Species: Sakura Cherry Blossom, Bonsai, Alpine Pine, Weeping Willow, and Autumn Maple.
  • Canopy Radius & Leaf Density: Up to 4,500 instanced foliage quads with multi-tone shading.
  • Branch Complexity & Wind Sway: Configurable wind physics and bough curvature.

🔗 4. Full URL State Serialization & Locked View-Only Mode

Every visual aspect of your customized garden is preserved directly in the URL:

  • Parameters Encoded: id, data, season, night, palette, tree, radius, leafCount, leafSize, branch, wind, th (camera azimuth), ph (camera polar angle), explore, and mode.
  • Locked View-Only Mode (mode=view):
    • Completely hides authoring panels, inputs, and drawers.
    • Leaves only clean, obsidian glassmorphism top-right buttons for presentation and embeds.
    • Ideal for embedding into personal websites, digital art showcases, and physical prints.

⚡ 5. 60+ FPS Performance Architecture

  • GPU Wind Sway: Group-level trigonometric deformation eliminating 4,500-instance CPU matrix loops (+20 FPS gain).
  • Diurnal Light Culling: Hides diya lamps and point lights during daylight passes.
  • Eco / Performance Mode: Header toggle button to pause particle physics and heavy shaders on battery-powered mobile devices.

🎮 Explorer Mode Controls

Key Action Description
W A S D Move Walk in 8 directions relative to camera view
Shift Sprint Run at high speed across the courtyard
Space Jump Jump with realistic vertical gravity physics
E Sit / Stand Sit on nearest carved sandstone bench or courtyard lawn
X Lie Down Lie flat on back with face looking up at the sky
V Camera View Toggle between 3rd-Person Chase & 1st-Person Eye Level
L Mouse Lock Toggle Pointer Lock for mouse camera look
ESC Exit Exit Explorer mode and return to Orbit camera

🛠️ Technology Stack

  • Core Engine: Three.js (r173+) WebGL 3D Renderer
  • Bundler & Dev Server: Vite 6.1+
  • Animations & Tweens: GSAP (GreenSock Animation Platform)
  • QR Code Matrix: qrcode (Level H High Error Correction)
  • Audio Synthesis: Web Audio API (Procedural pentatonic chimes, water ripples, tree rustling)
  • Icons: Lucide Icons
  • Typography: Inter & Outfit (Google Web Fonts)

🚀 Quickstart & Local Setup

Prerequisites

  • Node.js (v18.0.0 or higher)
  • npm or yarn

1. Clone the repository

git clone https://github.com/Celicular/GardenQR.git
cd GardenQR

2. Install dependencies

npm install

3. Start the local development server

npm run dev

Open http://localhost:5173/ in your browser.

4. Build for production

npm run build

Production assets will be output to the ./dist directory.


🌐 Deployment (Render)

This repository includes a render.yaml blueprint for instant static site hosting:

  1. Push your repository to GitHub.
  2. Link your repository in Render Dashboard.
  3. Render will automatically detect render.yaml, execute npm install && npm run build, and serve ./dist with SPA rewrites and asset cache headers.

👤 Author & Support

Created with ❤️ by Celi
Owner: Himadri Shekhar Goswami
📧 Email: hsg090907.jsr@gmail.com
🐙 GitHub: @Celicular
🌐 Live Demo: https://gardenqr.celi.me


📄 License

This project is licensed under the MIT License — see the LICENSE file for details.

About

Generative 3D QR experience that transforms URLs into interactive voxel gardens, combining WebGL exploration, procedural environments, dynamic seasons, weather, and fully scannable QR codes.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages