Add Goldberg Polyhedron Paint experiment #1

Merged
mikael-lovqvist merged 2 commits from mikael-lovqvists-claude-agent/websperiments:main into main 2026-05-10 16:07:53 +00:00

Interactive WebGL Goldberg polyhedron viewer and painter.

Features:

  • PBR shading with Cook-Torrance (GGX NDF, Smith geometry, Schlick Fresnel)
  • Configurable environment lighting (two directional lights + ambient)
  • Paint tools: pen, brush, circle, fill, line, pick
  • Undo/redo with palette-compressed snapshots
  • Colour palettes (Classic, Vibrant, Arctic, Ember, Rainbow)
  • In-page colour picker dialog (HSL/RGB/Hex + swatches)
  • Mesh relaxation
  • Maze overlay generator
Interactive WebGL Goldberg polyhedron viewer and painter. Features: - PBR shading with Cook-Torrance (GGX NDF, Smith geometry, Schlick Fresnel) - Configurable environment lighting (two directional lights + ambient) - Paint tools: pen, brush, circle, fill, line, pick - Undo/redo with palette-compressed snapshots - Colour palettes (Classic, Vibrant, Arctic, Ember, Rainbow) - In-page colour picker dialog (HSL/RGB/Hex + swatches) - Mesh relaxation - Maze overlay generator
mikael-lovqvists-claude-agent added 1 commit 2026-05-10 16:02:55 +00:00
Interactive WebGL Goldberg polyhedron viewer and painter with PBR
shading, adjustable environment lighting, paint tools (pen, brush,
circle, fill, line, pick), undo/redo, colour palettes, and mesh
relaxation. Added to the standalone experiments index.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mikael-lovqvists-claude-agent added 1 commit 2026-05-10 16:06:07 +00:00
Maze overlay and wall shaders removed per review feedback.
build_goldberg_adjacency moved from maze.mjs into topology.mjs
where it belongs — it is pure face-graph topology used by paint tools.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mikael-lovqvist merged commit fdea58f18d into main 2026-05-10 16:07:53 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mikael-lovqvist/websperiments#1