Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions CODEBASE_DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ WebGL procedural texture generator built on mebiusbox's MIT-licensed pixy.js sha
ENTRY POINTS:
editor.html Main editor (loads src/app.js)
index.html Redirect to showcase.html
pinkthositive-dashboard.html One-page prompt-led dashboard for Pinkthositive hero constructs plus usable material studies
pinkthositive-preview.html One-page live preview for Moon Surface Hero and Squid Tentacles Hero custom GLSL renders
pinkthositive-materials.html One-page 3D material study for seam-safe moon sphere variations and tentacle mesh skin
gallery.html Live animated gallery of 70+ effects
showcase.html Feature showcase (pipeline + custom GLSL previews)
demos.html Interactive material demos
Expand All @@ -20,6 +23,7 @@ ENTRY POINTS:

PROJECT TRACKING:
FINDINGS.md Findings checklist and usability roadmap
PINKTHOSITIVE_SHADER_WORKFLOW.md Pinkthositive-specific guide for hero shaders, materials, baking, prompts, and engine usage

CORE MODULES (src/):
app.js Main coordinator — init, animate, render
Expand Down Expand Up @@ -68,11 +72,16 @@ PRESET & LOADER:

LIBRARY (DO NOT MODIFY):
pixy.module.min.js 439KB MIT-licensed shader library by mebiusbox — 70+ effects, noise functions, Composer
shader-defs.js Shared full-screen custom GLSL hero shader library
pinkthositive-dashboard-app.js Runtime bootstrap for the Pinkthositive shader dashboard
pinkthositive-dashboard-shaders.js New Pinkthositive shader catalog with prompt metadata and fragment shaders
pinkthositive-usable-materials.js Geometry-bound Pinkthositive material catalog for the dashboard's usable pack
pinkthositive-material-shaders.js Dedicated 3D material shaders for moon sphere and tentacle mesh studies

DATA:
presets/ 38 JSON preset files (13 custom + 25 built-in)
presets/manifest.json Manifest for the preset browser (labels, categories, file paths)
presets/projects/ Example multi-layer project JSONs
presets/projects/ 11 multi-layer project JSON presets (4 examples + 7 Pinkthositive additions)
sprites/ 160 pre-rendered sprite sheet PNGs (6×6 grid, 192px frames)
game-sprites/ Split-frame outputs for game engine imports
images/grunge.png Texture used by shader effects
Expand Down Expand Up @@ -205,7 +214,7 @@ Exportable individually or as ZIP bundle.
| 6 | DONE | Undo/redo (JSON snapshots, Ctrl+Z/Y) |
| 7 | DONE | Enhanced export (PNG/JPEG/ZIP, resolution selector) |
| 8 | FUTURE | Node graph editor |
| — | DONE | 38 gallery presets, 13 custom presets |
| — | DONE | 38 single-effect presets + 11 project presets (including 7 Pinkthositive additions), 13 custom presets |
| — | DONE | 100 procedural sprite sheets (pixy effects) |
| — | DONE | 19 custom GLSL shaders (raymarched, fractals, physics) |
| — | DONE | Sprite sheet gallery with category filters |
Expand All @@ -230,7 +239,7 @@ xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" node save-custo
| pixy.module.min.js | 1 | 439KB |
| src/ modules | 22 | ~3,800 lines |
| sprites/ | 118 | ~133MB |
| presets/ | 38 | ~200KB |
| presets/ | 50 | ~232KB |
| gen-custom.html (GLSL) | 1 | ~1,350 lines |

## Dependencies
Expand Down
Loading