{"repo":"ledhieu/imoss","free":true,"listed":false,"github":"https://github.com/ledhieu/imoss","clone":"git clone https://github.com/ledhieu/imoss.git","description":"Real-time raytraced-looking WebGL interactive Marimo moss ball","language":"Svelte","stars":56,"topics":["shaders","showcase","threejs","webgl"],"license":null,"category":"game-templates","readme_excerpt":"iMoss - Marimo Moss Ball Live demo: imoss.bio https://github.com/user-attachments/assets/42fe0a2d-f9b9-4d5a-81ad-4a632b12baf5 An interactive WebGL (Three.js) custom shader Marimo moss ball rendered with 500,000 moss strands . The best part? Looks Blender ray-traced, but running in real-time right in the browser. And interacts with physics. Built with Threlte (Svelte + Three.js). Run locally Open http://localhost:5173 and click the ball to interact. Features Rendering - 125,000–500,000 instanced moss blades via InstancedMesh with 6-segment tapered geometry - Custom GLSL vertex & fragment shaders — per-blade wind, clumping, length-preserving bend, gradient color, wrap-around lighting, subsurface glow, and distance fog - SMAA at 5× native scale — morphological edge anti-aliasing with local-contrast adaptation, running on a 5× super-sampled render target - Full-screen post-processing shader — barrel distortion, multi-tap chromatic aberration (outward blue-purple / inward warm-yellow), radial dreamy blur, depth fog, underwater desaturation, and SMAA-like morphological edge anti-aliasing with local-contrast adaptation and subpixel blending Physics & Interaction - Cursor follow — ball smoothly tracks the mouse with exponential damping - Nudge impulse + spring recovery — click applies an impulse; a critically-damped spring ( 3 s settle time) returns the ball to cursor position - Linear momentum & inertia — blades bend against velocity (air drag) and acceleration (inertia) - Torque-ba","default_branch":null,"files":null,"tree":[],"storefront":"/r/ledhieu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ledhieu/imoss/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}