/sdfun

Small experiment with Raymarching

Primary LanguageTypeScript

Raymarching with Signed Distance Fields - Experiments

Builds

Example Image of the sdf scene

This little project attempts a couple of things:

  • Combine raymarching based rendering with "classical" rendering
  • Mirror the raymarching scene on the javascript side to calculate surface positions
  • Animate SDFs and add interactivity

See it in action

You can give it a try here.

  • Move camera around with left mouse button and zoom with mouse wheel
  • Click on blue bowl to spawn bubble