OpenSCAD compiled to WASM in a Web Worker + R3F: a hologram-style assembly viewer with proportional explode — fully client-side

Built a viewer where you upload OpenSCAD source files and they compile + render into one sci-fi hologram scene, with a slider that explodes the assembly apart:

https://scad-hologram.vercel.app

Pipeline, for the curious:

  • openscad-wasm runs in a module Web Worker (fresh instance per compile — callMain is single-shot), STL out
  • STL -> BufferGeometry, cached in IndexedDB keyed by SHA-256 of the source so reloads never recompile
  • react-three-fiber + drei: TransformControls gizmo writes into a placement layer (stored in OpenSCAD's Z-up coords; one wrapper group does the Y-up conversion exactly once)
  • Hologram look: custom ShaderMaterial with fresnel rim + EdgesGeometry overlay + modest Bloom
  • Explode = home + t \* explodeVector, vectors distance-proportional from the assembly centroid, damped in useFrame

Zero backend — static hosting, everything stays in the browser.

Disclosure: idea mine, \~all code written by Claude (Fable 5) in about 40 min from spec to deploy. Repo available if anyone wants to dig in.

reddit.com
u/Existing-Spare4336 — 1 day ago

I made a free browser tool that assembles your .scad parts into one interactive 'hologram' scene — with an exploded-view slider

Ever wanted to see all your SCAD parts together as an assembly — and pull it apart like an exploded engineering drawing?

https://scad-hologram.vercel.app

  • Upload multiple .scad files — the real OpenSCAD engine (WASM build) compiles them **in your browser**. No server, no install, files never leave your machine.
  • Each file becomes a part in one shared scene. Align parts with a drag gizmo or exact X/Y/Z mm inputs (Z-up, your SCAD code is never modified — placement is a separate layer).
  • One slider explodes/reassembles the whole assembly proportionally.
  • Autosaves locally; exports a single JSON with your layout + sources embedded.

v1 limits: self-contained files only (no include/use libraries yet — bundled libs are next), one part per file.

Fair disclosure: the idea is mine but the code was almost entirely written by Claude (Fable 5), from spec to deployment, in about 40 minutes. Happy to share the repo and take feature requests — library support? per-part explode direction overrides?

reddit.com
u/Existing-Spare4336 — 2 days ago

OpenSCAD compiled to WASM in a Web Worker + R3F: a hologram-style assembly viewer with proportional explode — fully client-side

Built a viewer where you upload OpenSCAD source files and they compile + render into one sci-fi hologram scene, with a slider that explodes the assembly apart:

https://scad-hologram.vercel.app

Pipeline, for the curious:

  • openscad-wasm runs in a module Web Worker (fresh instance per compile — callMain is single-shot), STL out
  • STL -> BufferGeometry, cached in IndexedDB keyed by SHA-256 of the source so reloads never recompile
  • react-three-fiber + drei: TransformControls gizmo writes into a placement layer (stored in OpenSCAD's Z-up coords; one wrapper group does the Y-up conversion exactly once)
  • Hologram look: custom ShaderMaterial with fresnel rim + EdgesGeometry overlay + modest Bloom
  • Explode = home + t * explodeVector, vectors distance-proportional from the assembly centroid, damped in useFrame

Zero backend — static hosting, everything stays in the browser.

Disclosure: idea mine, ~all code written by Claude (Fable 5) in about 40 min from spec to deploy. Repo available if anyone wants to dig in.

reddit.com
u/Existing-Spare4336 — 2 days ago

Antigravity not working! Showing blank screen. Anyone facing same issue?

I just started work today and typed my first prompt, nothing appeared. I tried with Gemini Pro 3.1, Claude Opus, Claude Sonnet. What's wrong here? Anyone facing same issue??

u/Existing-Spare4336 — 2 months ago

Built "What Would Reddit Say?" in 2 days - type a life situation, get a fake Reddit thread

Simple idea: what if Reddit could roast your life decisions?

You type a situation, it generates a full thread with 8 Reddit archetypes (the one who gives a verdict, the armchair lawyer, the one who makes it about themselves, etc.)

redditsays.app — free, no login, no signup.

Built it as my first shipped project. Feedback welcome.

reddit.com
u/Existing-Spare4336 — 2 months ago