From 45895d9da5aafbe60926b0b2b5d5184fa930f80b Mon Sep 17 00:00:00 2001 From: web3dev1337 <160291380+web3dev1337@users.noreply.github.com> Date: Fri, 6 Mar 2026 22:30:35 +1100 Subject: [PATCH 1/9] feat: add Pinkthositive shader project presets --- CODEBASE_DOCUMENTATION.md | 6 +- presets/manifest.json | 41 ++++++- presets/projects/moon-surface.json | 164 ++++++++++++++++++++++++++ presets/projects/pimple-surface.json | 147 +++++++++++++++++++++++ presets/projects/squid-tentacles.json | 157 ++++++++++++++++++++++++ 5 files changed, 511 insertions(+), 4 deletions(-) create mode 100644 presets/projects/moon-surface.json create mode 100644 presets/projects/pimple-surface.json create mode 100644 presets/projects/squid-tentacles.json diff --git a/CODEBASE_DOCUMENTATION.md b/CODEBASE_DOCUMENTATION.md index e569a32..55aca69 100644 --- a/CODEBASE_DOCUMENTATION.md +++ b/CODEBASE_DOCUMENTATION.md @@ -72,7 +72,7 @@ LIBRARY (DO NOT MODIFY): 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/ 7 multi-layer project JSON presets (4 examples + 3 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 @@ -205,7 +205,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 + 7 project presets (including 3 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 | @@ -230,7 +230,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/ | 46 | ~208KB | | gen-custom.html (GLSL) | 1 | ~1,350 lines | ## Dependencies diff --git a/presets/manifest.json b/presets/manifest.json index 3d03d4f..de9c871 100644 --- a/presets/manifest.json +++ b/presets/manifest.json @@ -431,5 +431,44 @@ "energy", "showcase" ] + }, + { + "id": "moon-surface", + "name": "Moon Surface", + "file": "presets/projects/moon-surface.json", + "kind": "project", + "category": "cosmic", + "description": "Cratered lunar regolith with rocky shadow pockets, dust speckle breakup, and subtle blue-white rim glow.", + "tags": [ + "cosmic", + "terrain", + "pinkthositive" + ] + }, + { + "id": "squid-tentacles", + "name": "Squid Tentacles", + "file": "presets/projects/squid-tentacles.json", + "kind": "project", + "category": "bio", + "description": "Organic tentacle flesh with suction cup structures, magenta-violet depth, and cyan bioluminescent wet sheen.", + "tags": [ + "bio", + "creature", + "pinkthositive" + ] + }, + { + "id": "pimple-surface", + "name": "Pimple Surface", + "file": "presets/projects/pimple-surface.json", + "kind": "project", + "category": "bio", + "description": "Bumpy inflamed skin texture with raised pustule forms, fleshy pink-red gradients, and glossy irritation highlights.", + "tags": [ + "bio", + "organic", + "pinkthositive" + ] } -] \ No newline at end of file +] diff --git a/presets/projects/moon-surface.json b/presets/projects/moon-surface.json new file mode 100644 index 0000000..b511991 --- /dev/null +++ b/presets/projects/moon-surface.json @@ -0,0 +1,164 @@ +{ + "version": 1, + "resolution": 512, + "layers": [ + { + "name": "Lunar Bedrock", + "effectController": { + "type": "CoherentNoise", + "animate": true, + "time": 10.8, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cHeightScale": 2, + "cRadialMask": 1, + "cNoiseOctave": 6, + "cNoiseFrequency": 9.4, + "cNoiseAmplitude": 1.35, + "cNoiseLacunarity": 3, + "cNoisePersistence": 0.44, + "cGradientNoise": 0.1, + "cValueNoise": 0.15, + "cVoronoiNoise": 0.85, + "cVoronoiCell": 0.38, + "cSimplexNoise": 0.2, + "cRepeat": 1, + "cTurbulence": 0.48, + "cRidge": 0.72, + "cRidgeOffset": 0.32, + "cScaleShift": 0.24, + "cPowerExponent": 2.8, + "cBias": 0.06, + "cGain": -0.2, + "cThreshold": 0.14, + "cInvert": 0, + "cNoiseSphereEnable": false, + "cNoiseGraphEnable": false, + "cColorBalanceShadowsR": -0.7, + "cColorBalanceShadowsG": -0.62, + "cColorBalanceShadowsB": -0.38, + "cColorBalanceMidtonesR": -0.05, + "cColorBalanceMidtonesG": 0.08, + "cColorBalanceMidtonesB": 0.25, + "cColorBalanceHighlightsR": 0.62, + "cColorBalanceHighlightsG": 0.78, + "cColorBalanceHighlightsB": 1, + "cToonEnable": false, + "cToonDark": 0.8, + "cToonLight": 0.95 + }, + "opacity": 1, + "blendMode": "Normal", + "visible": true + }, + { + "name": "Crater Shadows", + "effectController": { + "type": "CellNoise", + "animate": true, + "time": 4.6, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cNoiseFrequency": 10.8, + "cNoiseSphereEnable": false, + "cNoiseGraphEnable": false, + "cColorBalanceShadowsR": -1, + "cColorBalanceShadowsG": -0.95, + "cColorBalanceShadowsB": -0.7, + "cColorBalanceMidtonesR": -0.55, + "cColorBalanceMidtonesG": -0.45, + "cColorBalanceMidtonesB": -0.2, + "cColorBalanceHighlightsR": 0.1, + "cColorBalanceHighlightsG": 0.2, + "cColorBalanceHighlightsB": 0.35 + }, + "opacity": 0.42, + "blendMode": "Multiply", + "visible": true + }, + { + "name": "Regolith Dust", + "effectController": { + "type": "Speckle", + "animate": true, + "time": 1.9, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cRadius": 0.5, + "cScale": 0.68, + "cDensity": 0.82, + "cColorBalanceShadowsR": -0.35, + "cColorBalanceShadowsG": -0.3, + "cColorBalanceShadowsB": -0.2, + "cColorBalanceMidtonesR": 0.12, + "cColorBalanceMidtonesG": 0.16, + "cColorBalanceMidtonesB": 0.24, + "cColorBalanceHighlightsR": 0.75, + "cColorBalanceHighlightsG": 0.82, + "cColorBalanceHighlightsB": 0.95 + }, + "opacity": 0.28, + "blendMode": "SoftLight", + "visible": true + }, + { + "name": "Icy Rim Glow", + "effectController": { + "type": "Caustics", + "animate": true, + "time": 0.7, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cScale": 2.1, + "cSpeed": 0.12, + "cColor": 0.45, + "cColorBalanceShadowsR": -0.9, + "cColorBalanceShadowsG": -0.7, + "cColorBalanceShadowsB": 0.15, + "cColorBalanceMidtonesR": -0.35, + "cColorBalanceMidtonesG": 0.25, + "cColorBalanceMidtonesB": 0.85, + "cColorBalanceHighlightsR": 0.45, + "cColorBalanceHighlightsG": 0.95, + "cColorBalanceHighlightsB": 1 + }, + "opacity": 0.24, + "blendMode": "Screen", + "visible": true + } + ], + "gradient": { + "enabled": true, + "intensity": 0.72, + "stops": [ + { + "position": 0, + "color": "#07090e" + }, + { + "position": 0.35, + "color": "#3a3f4a" + }, + { + "position": 0.68, + "color": "#8f97a3" + }, + { + "position": 0.9, + "color": "#c8d3e3" + }, + { + "position": 1, + "color": "#f6f8ff" + } + ] + } +} diff --git a/presets/projects/pimple-surface.json b/presets/projects/pimple-surface.json new file mode 100644 index 0000000..90e03ae --- /dev/null +++ b/presets/projects/pimple-surface.json @@ -0,0 +1,147 @@ +{ + "version": 1, + "resolution": 512, + "layers": [ + { + "name": "Dermis Base", + "effectController": { + "type": "FbmNoise2", + "animate": true, + "time": 6.9, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cNoiseOctave": 6, + "cNoiseFrequency": 3.4, + "cNoiseAmplitude": 0.88, + "cNoiseLacunarity": 2.7, + "cNoisePersistence": 0.5, + "cScale": 0.62, + "cNoiseSphereEnable": false, + "cNoiseGraphEnable": false, + "cColorBalanceShadowsR": 0.12, + "cColorBalanceShadowsG": -0.78, + "cColorBalanceShadowsB": -0.62, + "cColorBalanceMidtonesR": 0.92, + "cColorBalanceMidtonesG": 0.18, + "cColorBalanceMidtonesB": 0.12, + "cColorBalanceHighlightsR": 1, + "cColorBalanceHighlightsG": 0.62, + "cColorBalanceHighlightsB": 0.45 + }, + "opacity": 1, + "blendMode": "Normal", + "visible": true + }, + { + "name": "Raised Pimples", + "effectController": { + "type": "Bubbles", + "animate": true, + "time": 3.7, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cRadius": 0.2, + "cWidth": 0.46, + "cThickness": 0.92, + "cColor": 0.42, + "cBubblesVariation": 1, + "cColorBalanceShadowsR": 0.1, + "cColorBalanceShadowsG": -0.95, + "cColorBalanceShadowsB": -0.82, + "cColorBalanceMidtonesR": 0.9, + "cColorBalanceMidtonesG": -0.15, + "cColorBalanceMidtonesB": -0.22, + "cColorBalanceHighlightsR": 1, + "cColorBalanceHighlightsG": 0.55, + "cColorBalanceHighlightsB": 0.4 + }, + "opacity": 0.62, + "blendMode": "Overlay", + "visible": true + }, + { + "name": "Inflamed Tissue", + "effectController": { + "type": "CellNoise", + "animate": true, + "time": 4.4, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cNoiseFrequency": 7.6, + "cNoiseSphereEnable": false, + "cNoiseGraphEnable": false, + "cColorBalanceShadowsR": -0.25, + "cColorBalanceShadowsG": -1, + "cColorBalanceShadowsB": -1, + "cColorBalanceMidtonesR": 0.85, + "cColorBalanceMidtonesG": -0.65, + "cColorBalanceMidtonesB": -0.82, + "cColorBalanceHighlightsR": 1, + "cColorBalanceHighlightsG": 0.2, + "cColorBalanceHighlightsB": 0.05 + }, + "opacity": 0.44, + "blendMode": "Multiply", + "visible": true + }, + { + "name": "Oily Inflammation Sheen", + "effectController": { + "type": "Caustics", + "animate": true, + "time": 0.8, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cScale": 2.8, + "cSpeed": 0.18, + "cColor": 0.5, + "cColorBalanceShadowsR": -0.5, + "cColorBalanceShadowsG": -0.95, + "cColorBalanceShadowsB": -0.65, + "cColorBalanceMidtonesR": 0.6, + "cColorBalanceMidtonesG": 0.05, + "cColorBalanceMidtonesB": 0, + "cColorBalanceHighlightsR": 1, + "cColorBalanceHighlightsG": 0.78, + "cColorBalanceHighlightsB": 0.62 + }, + "opacity": 0.27, + "blendMode": "Screen", + "visible": true + } + ], + "gradient": { + "enabled": true, + "intensity": 0.8, + "stops": [ + { + "position": 0, + "color": "#2b0f11" + }, + { + "position": 0.28, + "color": "#6f252e" + }, + { + "position": 0.55, + "color": "#b64858" + }, + { + "position": 0.8, + "color": "#de7d83" + }, + { + "position": 1, + "color": "#ffd1c8" + } + ] + } +} diff --git a/presets/projects/squid-tentacles.json b/presets/projects/squid-tentacles.json new file mode 100644 index 0000000..2b0a987 --- /dev/null +++ b/presets/projects/squid-tentacles.json @@ -0,0 +1,157 @@ +{ + "version": 1, + "resolution": 512, + "layers": [ + { + "name": "Tentacle Flesh", + "effectController": { + "type": "Trabeculum", + "animate": true, + "time": 2.8, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cHeightScale": 2, + "cRadialMask": 1, + "cDensity": 0.92, + "cScale": 0.42, + "cIntensity": 0.84, + "cTrabeculumVariation": 2, + "cCameraTilt": 0.62, + "cCameraPan": 0.46, + "cColor": 0.78, + "cColorBalanceShadowsR": -0.88, + "cColorBalanceShadowsG": -0.42, + "cColorBalanceShadowsB": 0.35, + "cColorBalanceMidtonesR": 0.68, + "cColorBalanceMidtonesG": -0.15, + "cColorBalanceMidtonesB": 0.72, + "cColorBalanceHighlightsR": 1, + "cColorBalanceHighlightsG": 0.32, + "cColorBalanceHighlightsB": 0.9, + "cToonEnable": false, + "cToonDark": 0.8, + "cToonLight": 0.95 + }, + "opacity": 1, + "blendMode": "Normal", + "visible": true + }, + { + "name": "Suction Cup Field", + "effectController": { + "type": "Bubbles", + "animate": true, + "time": 5.1, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cRadius": 0.24, + "cWidth": 0.32, + "cThickness": 0.88, + "cColor": 0.64, + "cBubblesVariation": 2, + "cColorBalanceShadowsR": -0.55, + "cColorBalanceShadowsG": -0.5, + "cColorBalanceShadowsB": 0.25, + "cColorBalanceMidtonesR": 0.75, + "cColorBalanceMidtonesG": -0.1, + "cColorBalanceMidtonesB": 0.55, + "cColorBalanceHighlightsR": 1, + "cColorBalanceHighlightsG": 0.55, + "cColorBalanceHighlightsB": 0.88 + }, + "opacity": 0.58, + "blendMode": "Overlay", + "visible": true + }, + { + "name": "Bioluminescent Veins", + "effectController": { + "type": "Energy", + "animate": true, + "time": 7.4, + "resolution": "512", + "polarConversion": false, + "tiling": false, + "normalMap": false, + "cPower": 0.42, + "cDensity": 0.72, + "cThickness": 0.62, + "cScale": 0.36, + "cFrequency": 0.95, + "cColor": 0.94, + "cColorBalanceShadowsR": -1, + "cColorBalanceShadowsG": -0.15, + "cColorBalanceShadowsB": 0.35, + "cColorBalanceMidtonesR": -0.65, + "cColorBalanceMidtonesG": 0.75, + "cColorBalanceMidtonesB": 1, + "cColorBalanceHighlightsR": 0.25, + "cColorBalanceHighlightsG": 1, + "cColorBalanceHighlightsB": 1 + }, + "opacity": 0.34, + "blendMode": "Add", + "visible": true + }, + { + "name": "Wet Iridescent Sheen", + "effectController": { + "type": "WaterTurbulence", + "animate": true, + "time": 1.3, + "resolution": "512", + "polarConversion": false, + "tiling": true, + "normalMap": false, + "cScale": 0.66, + "cIntensity": 0.61, + "cColorBalanceShadowsR": -1, + "cColorBalanceShadowsG": -0.65, + "cColorBalanceShadowsB": 0.1, + "cColorBalanceMidtonesR": -0.45, + "cColorBalanceMidtonesG": 0.35, + "cColorBalanceMidtonesB": 0.95, + "cColorBalanceHighlightsR": 0.4, + "cColorBalanceHighlightsG": 0.95, + "cColorBalanceHighlightsB": 1 + }, + "opacity": 0.3, + "blendMode": "Screen", + "visible": true + } + ], + "gradient": { + "enabled": true, + "intensity": 0.88, + "stops": [ + { + "position": 0, + "color": "#02050f" + }, + { + "position": 0.22, + "color": "#1a0c36" + }, + { + "position": 0.5, + "color": "#4b145f" + }, + { + "position": 0.72, + "color": "#b32c88" + }, + { + "position": 0.9, + "color": "#33d6e9" + }, + { + "position": 1, + "color": "#d9ffff" + } + ] + } +} From 5d8a37bf9df4a69689c696c48c46b139c444d5aa Mon Sep 17 00:00:00 2001 From: web3dev1337 <160291380+web3dev1337@users.noreply.github.com> Date: Fri, 6 Mar 2026 22:38:24 +1100 Subject: [PATCH 2/9] feat: add one-page Pinkthositive live preview --- CODEBASE_DOCUMENTATION.md | 1 + pinkthositive-preview.html | 348 +++++++++++++++++++++++++++++++++++++ 2 files changed, 349 insertions(+) create mode 100644 pinkthositive-preview.html diff --git a/CODEBASE_DOCUMENTATION.md b/CODEBASE_DOCUMENTATION.md index 55aca69..36b7b69 100644 --- a/CODEBASE_DOCUMENTATION.md +++ b/CODEBASE_DOCUMENTATION.md @@ -8,6 +8,7 @@ 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-preview.html One-page live preview for Moon Surface / Squid Tentacles / Pimple Surface project presets gallery.html Live animated gallery of 70+ effects showcase.html Feature showcase (pipeline + custom GLSL previews) demos.html Interactive material demos diff --git a/pinkthositive-preview.html b/pinkthositive-preview.html new file mode 100644 index 0000000..f7a3ab2 --- /dev/null +++ b/pinkthositive-preview.html @@ -0,0 +1,348 @@ + + +
+ + +Live rendered previews of Moon Surface, Squid Tentacles, and Pimple Surface on one page.
+Live rendered previews of Moon Surface, Squid Tentacles, and Pimple Surface on one page.
+Live rendered previews of the corrected Moon Surface V2 and Squid Tentacles V2 on one page.