Back to browse
GitHub Repository

Real-time raytraced-looking WebGL interactive Marimo moss ball

52 starsSvelte

Interactive Marimo Moss Ball

by ldhieu·May 4, 2026·3 points·0 comments

AI Analysis

●●SolidEye CandyWizardryCozy

500k interactive hair strands in WebGL, but utility stops at visual novelty.

Strengths
  • InstancedMesh rendering handles 500k strands without crashing browser tabs.
  • Custom GLSL shaders implement SMAA anti-aliasing at 5x native resolution.
  • Per-blade spring physics simulate wind and inertia efficiently on CPU.
Weaknesses
  • No documented API for reusing the moss component in projects.
  • Visual novelty lacks a practical use case beyond tech demonstration.
Target Audience

Creative coders, WebGL developers, graphics programmers

Similar To

Three.js · ShaderToy

Post Description

Hi HN,

Sharing this technique I used to render 500,000 ray-traced-looking hair strands in real-time in the browser. And they also react to physics. If you create something cool with it, let me know! :)

Similar Projects