Resume

Shaders & Raymarching

Ocean Waves

Real-time GLSL ocean wave simulation with dynamic mouse turbulence and specular sunlight scattering.

haroonalhadi.com/creations/ocean-waves/index.html
Live Interactive

Concept & Real-Time Synthesis

A GPU-accelerated ocean simulation written in GLSL. Features layered sinusoidal wave harmonics, Fresnel surface reflection, underwater volumetric absorption, and interactive mouse-drag wave turbulence that warps the horizon.

“Capturing the undulating motion of open sea waves using superposition of directional waves and Fresnel water surface shading.”

Technical Architecture

Superposition Wave Harmonics
Combines multiple Gerstner-like wave vectors to produce chaotic, organic open-ocean swelling.
Physical Water Optical Model
Computes subsurface light absorption and specular highlights from directional sunlight and atmospheric scattering.
Cursor Wave Interaction
Distorts local wave crest heights and surface normals in real-time as the cursor traverses the surface.
WebGLGLSL ShadersRaymarchingWave HarmonicsFresnel OpticsFluid Motion