azidancorp/voxeltreemorph — explained in plain English
Analysis updated 2026-05-18
Open the single HTML file in a browser to view an interactive 3D voxel tree.
Adjust sliders to tune particle density, falling leaves, and morph speed.
Add a new tree variation by writing a geometry function and registering it in the HTML file.
| azidancorp/voxeltreemorph | smallnest/goal-workflow | zhaochamyu/japaneseonchain | |
|---|---|---|---|
| Stars | 34 | 34 | 34 |
| Language | HTML | HTML | HTML |
| Setup difficulty | easy | easy | easy |
| Complexity | 1/5 | 2/5 | 1/5 |
| Audience | vibe coder | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a WebGL-capable browser and internet access to load Three.js from a CDN.
VoxelTreeMorph is a browser-based 3D tree viewer that lives entirely in a single HTML file. It uses Three.js, a JavaScript library for 3D graphics, to render a tree built from small cube-shaped blocks called voxels. The tree can smoothly transition between 13 different visual styles, ranging from familiar shapes like Maple and Oak to more exotic forms like Banyan, Baobab, Jacaranda, and Weeping Willow. Because everything is contained in one HTML file and Three.js is loaded from a public content delivery network, there is no installation step and no build process. You open the file in a browser, or serve it with a basic local web server for the most reliable experience, and the 3D scene loads immediately. An internet connection is required unless you replace the CDN imports with local copies. The controls are split between a panel of sliders and the mouse. Sliders let you adjust particle density, falling leaf count, how long the tree holds each shape before changing, the speed of transitions, and the strength of a cursor interaction that pushes voxels outward when you hover over them. You can also drag to rotate the camera and scroll to zoom. Clicking a variation button triggers an immediate morph. The project exposes a small debug interface through the browser console at window.__voxelTreeMorph, which lets you query the current state, step to the next variation, jump to a specific one by index, or check color statistics. Adding a new tree variation means writing a geometry function in the HTML file and registering it in the variations list. The README walks through the customization process and notes that picker button values must stay aligned with the function indexes.
A single-file browser app that renders a 3D voxel tree which morphs smoothly between 13 different tree styles.
Mainly HTML. The stack also includes HTML, JavaScript, Three.js.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.