Video thumbnail for Code × Art × Music | Beginner — Contour Swell

Code × Art × Music | Beginner — Contour Swell

Sep 27, 2026
CoolCodePy Logo

CoolCodePy

Code × Art × Music turns computation into visual art — Python and mathematics distilled into minimal, cinematic imagery. Contour Swell traces a field of thin horizontal contour lines across a single height field. Where the terrain is flat, the lines stay perfectly parallel; where it rises, they bend and stack into a smooth dune-like swell before settling back into stillness. Rendered with a Python/numpy ray marcher built in a shader-like style: camera rays are marched against the height field, each hit is measured against a shifting threshold to isolate a glowing contour with a soft halo, then lit using surface normals estimated directly from the field. Download a ready-made Python code file: https://uploadex.net/f/qYcyFB7UvC Created with code. Designed with creativity. #CodeArtMusic #GenerativeArt #PythonArt #CreativeCoding #ProceduralArt #RayMarching #DigitalArt
Arts & Entertainment