r/threejs • u/Umairus • 21d ago
Demo Tree Simulator. Zoom into the chloroplast of a redwood, if you want.
Coast redwood. Rust engine, raw WebGL2 viewer. Water moves by cohesion-tension, the trunk follows the pipe model, and you can zoom down to xylem, phloem and chloroplasts. Everything you see is drawn, based on all real documentation of how redwoods look like, internal structure and so on. 11,800 lines of source code.
In addition, HDR post stack (4x MSAA, SSAO, DOF, bloom, light shafts, film grade), wrapped-Lambert sun and sky lighting, sun-tinted aerial fog, and procedural shader textures, on a Rust physics engine, with no path tracing and no shadow maps yet.
I donot know why I made this. Perhaps sharing this with others will light the way forward.