Skip to content

Commit 0cf73eb

Browse files
web3dev1337claude
andcommitted
fix: remove original EffectTextureMaker app code, clarify licensing
Remove fxgen.module.min.js and classic.html — original mebiusbox app code with no clear open-source license. ShaderBrew only depends on pixy.js (MIT licensed) which remains. Updated all credits/docs to accurately reflect: pixy.js shader library is MIT by mebiusbox, everything else is original ShaderBrew code. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c2eae0d commit 0cf73eb

10 files changed

Lines changed: 17 additions & 173 deletions

CLAUDE.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
3. Run on `http://localhost:4444` (do NOT use port 3000)
77

88
## Project Overview
9-
WebGL shader-based procedural texture generator. Originally by mebiusbox (MIT). Enhanced into a professional multi-layer texture creation tool with PBR export, 3D preview, gradient editor, undo/redo, and 119 pre-rendered sprite sheet particle effects (100 pixy-based + 19 custom GLSL).
9+
WebGL shader-based procedural texture generator. Uses mebiusbox's MIT-licensed pixy.js shader library. Built into a professional multi-layer texture creation tool with PBR export, 3D preview, gradient editor, undo/redo, and 119 pre-rendered sprite sheet particle effects (100 pixy-based + 19 custom GLSL).
1010

1111
## Key Files
1212
- `editor.html` - Main editor (loads src/app.js, has layers/PBR/gradient/export)
13-
- `index.html` - Original editor (loads fxgen.module.min.js, kept for compat)
14-
- `fxgen.module.min.js` - Original minified app (kept for index.html)
15-
- `pixy.module.min.js` - 439KB shader library (DO NOT MODIFY)
13+
- `index.html` - Redirect to showcase.html
14+
- `pixy.module.min.js` - 439KB MIT-licensed shader library by mebiusbox (DO NOT MODIFY)
1615
- `gallery.html` - Live animated gallery of 70+ effects
1716
- `particles.html` - 3D particle viewport + Browse 100 mode
1817
- `sprite-gallery.html` - 119 animated sprite sheets from pre-rendered PNGs
@@ -74,7 +73,6 @@ WebGL shader-based procedural texture generator. Originally by mebiusbox (MIT).
7473
- **Analogous cool**: Warp Rainbow (teal→blue→violet HSV sweep)
7574

7675
## Gotchas
77-
- `s` (fxgen app object) is module-private — not accessible from outside
7876
- Gallery uses IntersectionObserver + round-robin (max 6/frame) for GPU efficiency
7977
- Puppeteer needs Xvfb for WebGL: `xvfb-run --auto-servernum node save-sprites.mjs`
8078
- Custom shaders NOT in editor yet — only in sprite gallery. Editor uses pixy effects only.

CODEBASE_DOCUMENTATION.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# ShaderBrew — Codebase Documentation
22

3-
Enhanced fork of mebiusbox's MIT-licensed WebGL procedural texture generator. Transformed from a single-effect viewer into a multi-layer texture creation tool with PBR export, 3D preview, gradient editor, undo/redo, and 160 animated sprite sheet effects (100 FXGEN + 52 custom GLSL + 8 composites).
3+
WebGL procedural texture generator built on mebiusbox's MIT-licensed pixy.js shader library. Multi-layer texture creation tool with PBR export, 3D preview, gradient editor, undo/redo, and 160 animated sprite sheet effects (100 FXGEN + 52 custom GLSL + 8 composites).
44

55
## Quick Navigation
66

77
```
88
ENTRY POINTS:
99
editor.html Main editor (loads src/app.js)
10-
index.html Original editor (loads fxgen.module.min.js, kept for compat)
10+
index.html Redirect to showcase.html
1111
gallery.html Live animated gallery of 70+ effects
1212
showcase.html Feature showcase (pipeline + custom GLSL previews)
1313
demos.html Interactive material demos
@@ -67,8 +67,7 @@ PRESET & LOADER:
6767
preset-loader.js Preset bar UI + JSON/URL loading
6868
6969
LIBRARY (DO NOT MODIFY):
70-
pixy.module.min.js 439KB shader library — 70+ effects, noise functions, Composer
71-
fxgen.module.min.js 42KB original app (kept for index.html compat)
70+
pixy.module.min.js 439KB MIT-licensed shader library by mebiusbox — 70+ effects, noise functions, Composer
7271
7372
DATA:
7473
presets/ 38 JSON preset files (13 custom + 25 built-in)
@@ -197,7 +196,7 @@ Exportable individually or as ZIP bundle.
197196

198197
| Phase | Status | Description |
199198
|-------|--------|-------------|
200-
| 0 | DONE | Deobfuscated fxgen into src/ modules |
199+
| 0 | DONE | Built src/ modules using pixy.js shader API |
201200
| 1 | DONE | Multi-layer compositing (LayerManager, 9 blend modes, Compositor) |
202201
| 2 | DONE | Gradient map color ramp (editor + 5 presets + GLSL shader) |
203202
| 3 | DONE | Enhanced UI layout (layer panel, toolbar, split-pane) |
@@ -229,7 +228,6 @@ xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" node save-custo
229228
| Component | Files | Size |
230229
|-----------|-------|------|
231230
| pixy.module.min.js | 1 | 439KB |
232-
| fxgen.module.min.js | 1 | 42KB |
233231
| src/ modules | 22 | ~3,800 lines |
234232
| sprites/ | 118 | ~133MB |
235233
| presets/ | 38 | ~200KB |

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
MIT License
22

3-
Copyright (c) 2017 mebiusbox (original EffectTextureMaker / pixy shader library)
4-
Copyright (c) 2025 web3dev1337 (ShaderBrew enhancements)
3+
Copyright (c) 2017 mebiusbox (pixy.js shader library — pixy.module.min.js)
4+
Copyright (c) 2025 web3dev1337 (ShaderBrew — everything else)
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ python3 -m http.server 4444
9696

9797
## Credits
9898

99-
Built on [EffectTextureMaker](https://mebiusbox.github.io/contents/EffectTextureMaker/) by [mebiusbox](https://github.com/mebiusbox) (MIT License). The original tool provides the core procedural shader library (pixy) and single-layer editor.
99+
Uses [pixy.js](https://github.com/mebiusbox/pixy.js) by [mebiusbox](https://github.com/mebiusbox) (MIT License)the procedural shader library that powers the 65+ built-in effect types.
100100

101-
ShaderBrew adds multi-layer compositing, gradient mapping, PBR generation, 3D preview, 52 custom GLSL shaders, sprite sheet generation, the showcase, material forge, and the enhanced editor UI.
101+
Everything else (editor, layers, compositing, gradient mapping, PBR generation, 3D preview, 52 custom GLSL shaders, sprite sheets, showcase, material forge) is original ShaderBrew code.
102102

103103
## License
104104

classic.html

Lines changed: 0 additions & 78 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ export default [
66
ignores: [
77
"**/node_modules/**",
88
"**/*.min.js",
9-
"pixy.module.min.js",
10-
"fxgen.module.min.js"
9+
"pixy.module.min.js"
1110
],
1211
languageOptions: {
1312
ecmaVersion: 2022,

fxgen.module.min.js

Lines changed: 0 additions & 73 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"name": "work1",
33
"version": "1.0.0",
44
"description": "",
5-
"main": "fxgen.module.min.js",
5+
"main": "src/app.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"lint": "eslint ."
99
},
1010
"keywords": [],
1111
"author": "",
12-
"license": "ISC",
12+
"license": "MIT",
1313
"type": "commonjs",
1414
"devDependencies": {
1515
"eslint": "^10.0.1",

showcase.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ <h2>From Single Effect to Texture Studio</h2>
243243
<a href="demos.html">Material Forge</a>
244244
<a href="sprite-gallery.html">Sprite Gallery</a>
245245
</div>
246-
<p style="margin-top:40px;font-size:11px;color:#333">Built on <a href="https://github.com/mebiusbox/EffectTextureMaker" target="_blank" style="color:#444">EffectTextureMaker</a> by <a href="https://github.com/mebiusbox" target="_blank" style="color:#444">mebiusbox</a> (MIT)</p>
246+
<p style="margin-top:40px;font-size:11px;color:#333">Shader library: <a href="https://github.com/mebiusbox/pixy.js" target="_blank" style="color:#444">pixy.js</a> by <a href="https://github.com/mebiusbox" target="_blank" style="color:#444">mebiusbox</a> (MIT)</p>
247247
</div>
248248

249249
<script type="importmap">

src/ui/top-nav.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ function initTopNav() {
126126

127127
const credit = document.createElement("a");
128128
credit.className = "nav-credit";
129-
credit.href = "https://github.com/mebiusbox/EffectTextureMaker";
129+
credit.href = "https://github.com/mebiusbox/pixy.js";
130130
credit.target = "_blank";
131-
credit.textContent = "Based on EffectTextureMaker by mebiusbox";
131+
credit.textContent = "Shader library: pixy.js by mebiusbox (MIT)";
132132
nav.appendChild(credit);
133133

134134
if (!isEditor) document.body.classList.add("has-top-nav");

0 commit comments

Comments
 (0)