Hasty Briefsbeta

A series of tricks and techniques I learned doing tiny GLSL demos

3 days ago
  • #creative-coding
  • #GLSL
  • #raymarching
  • The author discusses creating tiny GLSL demos, focusing on four specific examples: Moonlight, Entrance 3, Archipelago, and Cutie.
  • Moonlight introduces a simpler volumetric raymarching technique using 1/d for color contribution, explaining its physical basis with the inverse square law.
  • Entrance 3 explores challenges in creating atmospheric vibes with L-∞ norm distance functions and addresses mobile driver bugs encountered during development.
  • Archipelago features procedurally generated landscapes using noise functions and domain warping for water effects, inspired by external sources.
  • Cutie, though exceeding the 512-character limit, demonstrates smooth visuals using iteration counts and smoothmin operators for rounded cone shapes.
  • The author reflects on the artistic and technical benefits of the 512-character constraint, emphasizing focus, consistency, and the joy of craftsmanship.