-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80a4509
commit 5be60b7
Showing
13 changed files
with
6,591 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html><head title="Dave's Shader List"><meta charset="UTF-8" /><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/build/pure-min.css" /></head><body><h1>Dave's Shader Reference</h1><p>Click on any of the links below.</p><div><p>Shapes</p><ul><li><a href="./shaders/shapes/metaballs">Metaballs</a></li></ul></div><div><p>Noise</p><ul><li><a href="./shaders/noise/cellular-noise">Cellular noise</a></li><li><a href="./shaders/noise/classic-perlin-noise">Classic perlin noise</a></li><li><a href="./shaders/noise/gradient-noise">Gradient noise</a></li><li><a href="./shaders/noise/simplex-noise">Simplex noise</a></li><li><a href="./shaders/noise/white-noise">White noise</a></li></ul></div><div><p>Basics</p><ul><li><a href="./shaders/basics/colours">Colours</a></li><li><a href="./shaders/basics/minimal">Minimal</a></li></ul></div><div><p>Sdf</p><ul><li><a href="./shaders/sdf/circle">Circle</a></li><li><a href="./shaders/sdf/square">Square</a></li></ul></div><div><p>Demos</p><ul><li><a href="./shaders/demos/campfire">Campfire</a></li><li><a href="./shaders/demos/pulsingbox">Pulsingbox</a></li></ul></div><div><p>Patterns</p><ul><li><a href="./shaders/patterns/simple-voronoi">Simple voronoi</a></li><li><a href="./shaders/patterns/stripes">Stripes</a></li><li><a href="./shaders/patterns/wavy-stripes">Wavy stripes</a></li><li><a href="./shaders/patterns/weaving-stripes">Weaving stripes</a></li></ul></div></body></html> | ||
<!DOCTYPE html><html><head title="Dave's Shader List"><meta charset="UTF-8" /><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/build/pure-min.css" /></head><body><h1>Dave's Shader Reference</h1><p>Click on any of the links below.</p><div><p>Shapes</p><ul><li><a href="./shaders/shapes/coloured-metaballs">Coloured metaballs</a></li><li><a href="./shaders/shapes/metaballs">Metaballs</a></li><li><a href="./shaders/shapes/shiny-metaballs">Shiny metaballs</a></li></ul></div><div><p>Noise</p><ul><li><a href="./shaders/noise/cellular-noise">Cellular noise</a></li><li><a href="./shaders/noise/classic-perlin-noise">Classic perlin noise</a></li><li><a href="./shaders/noise/gradient-noise">Gradient noise</a></li><li><a href="./shaders/noise/simplex-noise">Simplex noise</a></li><li><a href="./shaders/noise/white-noise">White noise</a></li></ul></div><div><p>Basics</p><ul><li><a href="./shaders/basics/colours">Colours</a></li><li><a href="./shaders/basics/minimal">Minimal</a></li></ul></div><div><p>Sdf</p><ul><li><a href="./shaders/sdf/circle">Circle</a></li><li><a href="./shaders/sdf/square">Square</a></li></ul></div><div><p>Demos</p><ul><li><a href="./shaders/demos/campfire">Campfire</a></li><li><a href="./shaders/demos/pulsingbox">Pulsingbox</a></li></ul></div><div><p>Patterns</p><ul><li><a href="./shaders/patterns/simple-voronoi">Simple voronoi</a></li><li><a href="./shaders/patterns/stripes">Stripes</a></li><li><a href="./shaders/patterns/wavy-stripes">Wavy stripes</a></li><li><a href="./shaders/patterns/weaving-stripes">Weaving stripes</a></li></ul></div></body></html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html><head title="coloured-metaballs"><meta charset="UTF-8" /><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/build/pure-min.css" /></head><body><div id="indigo-container"></div><script type="text/javascript" src="scripts/main.js"></script><script type="text/javascript">IndigoGame.launch('indigo-container')</script><p>Hit 'f' for fullscreen.</p></body></html> |
28 changes: 28 additions & 0 deletions
28
docs/shaders/shapes/coloured-metaballs/scripts/indigo-support.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
window.onload = function () { | ||
if (typeof history.pushState === "function") { | ||
history.pushState("jibberish", null, null); | ||
window.onpopstate = function () { | ||
history.pushState('newjibberish', null, null); | ||
// Handle the back (or forward) buttons here | ||
// Will NOT handle refresh, use onbeforeunload for this. | ||
}; | ||
} | ||
else { | ||
var ignoreHashChange = true; | ||
window.onhashchange = function () { | ||
if (!ignoreHashChange) { | ||
ignoreHashChange = true; | ||
window.location.hash = Math.random(); | ||
// Detect and redirect change here | ||
// Works in older FF and IE9 | ||
// * it does mess with your hash symbol (anchor?) pound sign | ||
// delimiter on the end of the URL | ||
} | ||
else { | ||
ignoreHashChange = false; | ||
} | ||
}; | ||
} | ||
} | ||
|
3,256 changes: 3,256 additions & 0 deletions
3,256
docs/shaders/shapes/coloured-metaballs/scripts/main.js
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html><head title="shiny-metaballs"><meta charset="UTF-8" /><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/build/pure-min.css" /></head><body><div id="indigo-container"></div><script type="text/javascript" src="scripts/main.js"></script><script type="text/javascript">IndigoGame.launch('indigo-container')</script><p>Hit 'f' for fullscreen.</p></body></html> |
28 changes: 28 additions & 0 deletions
28
docs/shaders/shapes/shiny-metaballs/scripts/indigo-support.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
window.onload = function () { | ||
if (typeof history.pushState === "function") { | ||
history.pushState("jibberish", null, null); | ||
window.onpopstate = function () { | ||
history.pushState('newjibberish', null, null); | ||
// Handle the back (or forward) buttons here | ||
// Will NOT handle refresh, use onbeforeunload for this. | ||
}; | ||
} | ||
else { | ||
var ignoreHashChange = true; | ||
window.onhashchange = function () { | ||
if (!ignoreHashChange) { | ||
ignoreHashChange = true; | ||
window.location.hash = Math.random(); | ||
// Detect and redirect change here | ||
// Works in older FF and IE9 | ||
// * it does mess with your hash symbol (anchor?) pound sign | ||
// delimiter on the end of the URL | ||
} | ||
else { | ||
ignoreHashChange = false; | ||
} | ||
}; | ||
} | ||
} | ||
|
Oops, something went wrong.