Skip to content

OpenGL demo visualizing animated 3D Perlin-style noise with grid and isolines

Notifications You must be signed in to change notification settings

RSMT98/perlin-isolines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Perlin Isoline Visualizer

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.

Features

  • 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.

Build and run

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

Controls

  • 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.

About

OpenGL demo visualizing animated 3D Perlin-style noise with grid and isolines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published