Resume

Shaders & Raymarching

The Shapes Project: 8toons

Raymarched dual-torus sculpture with dynamic mouse-responsive ripple displacement and chromatic Fresnel interference.

haroonalhadi.com/creations/the-shapes-project/index.html
Live Interactive

Concept & Real-Time Synthesis

An exploration into non-Euclidean spatial computation and signed distance field (SDF) raymarching. Dual toruses rotating along orthogonal axes are blended seamlessly via smooth minimum polynomial equations (smin). Interactive mouse distance vectors calculate a real-time wave ripple that displaces the raymarched surface, paired with finite-difference surface normal extraction and chromatic Fresnel highlights.

“Sculpting geometry without polygons: raymarching allows mathematical equations to generate infinite-resolution surfaces. Introducing distance-to-cursor ripple physics creates an organic, responsive dialogue between the viewer and the mathematical form.”

Technical Architecture

SDF Torus Synthesis & Smooth Minimum
Blends two independently rotating orthogonal torus manifolds using continuous polynomial smin blending, eliminating sharp geometric creases.
Interactive Distance Field Ripple
Calculates cursor world-space proximity to generate exponential decay ripple interference across the raymarched surface at 60 FPS.
Finite Difference Normal & Chromatic Fresnel
Derives surface gradients on the fly with tetrahedral sampling, projecting spectral base coloration and glowing golden specular highlights.
WebGLGLSL ShadersRaymarchingSigned Distance Fields (SDF)Smooth MinimumFresnel Shading