Skip to content
CuteGuy☣️· @cutetoxicguy · X·· 19 d agoFeaturedAI score77

Open-source three.js framework Dioramas builds interactive websites with complete 3D scenes

Editorial summary

Dioramas is a three.js framework that provides 20 complete example websites built around 3D scenes and specific interactions. The project includes an asset pipeline from generative product images to textured 3D models, a rendering layer supporting lighting and scrolling cameras, and briefs and review scripts for coding agents to build and modify experiences.

Why it matters

The framework connects scene interaction, asset generation, and browser optimization into a complete inspectable workflow, making it useful as a reference for implementing creative websites.

Original text

🏝️ Make the 3D scene itself the website: steer a lighthouse through a storm, move the sun around a cliff house or take a watch movement apart as you explore the page.

Dioramas from @BlendiByl is a three.js framework with 20 complete example sites, each built around a scene and a particular interaction.

The project combines three parts:

▪️ An asset pipeline from generated product images to textured 3D models.
▪️ A rendering layer with lighting, reflections, post-processing and scroll-controlled cameras.
▪️ Briefs and review scripts for building and revising the experience with a coding agent.

🧩 New hero assets can be generated with Nano Banana 2 and Meshy 7.1 through fal. Optimization scripts then compress geometry and textures for browser delivery. The author reports reducing typical raw models from about 25 MB to 3–8 MB.

The distinction between the framework and generation matters: the code and supplied examples are free, while generating new assets through those APIs costs money. Existing models already ship in the repository, so exploring the examples does not require an API key.

🛠️ Clone it, install the npm dependencies and run the development server. The included assets make the repository roughly 330 MB, and a desktop GPU is recommended for the visual effects.

Code is MIT-licensed; the supplied generated models and images use CC BY 4.0, so attribution still matters when reusing them.

For creative websites, the useful starting point is a complete scene, interaction and asset pipeline you can inspect and adapt, rather than a screenshot of a landing page that never existed in a browser.

Code and examples: github.com/blendi-remade/dior…

#ThreeJS #WebGL #3DDesign #GenerativeAI

Source: CuteGuy☣️ · x.com