Small OpenGL + SDL2 demo that samples animated 3D Perlin-style noise (x, y, time) and visualizes a 2D slice with both a colored grid and thick isolines.
- Animated scalar field: time is treated as the third axis of the noise function.
- Dual visualization: smooth color mapping plus thick, normal-offset isolines.
- Adjustable detail: change isoline count and grid resolution at runtime; viewport resizes smoothly.
- Minimal stack: C++20, CMake, OpenGL 3.3 core profile, SDL2, and GLEW.
Prerequisites: CMake (3.0+), a C++20 compiler, and development packages for SDL2, GLEW, and OpenGL.
cmake -S . -B build
cmake --build build -j
./build/perlin_isolines- Left / Right arrows — decrease / increase isoline count (1–15).
- Up / Down arrows — decrease / increase grid resolution (clamped between 10 and 250).
- Close the window to exit.