├── README.md
├── index.html
└── index.min.html
/README.md:
--------------------------------------------------------------------------------
1 | MiniShadertoyLite
2 | ==
3 |
4 | A super-tiny webGL shader playground
5 |
6 | Website + Commented code:
7 | http://xem.github.io/MiniShadertoyLite
8 |
9 | Golfed (494b)
10 | http://xem.github.io/MiniShadertoyLite/index.min.html
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
MiniShadertoyLite
4 |
5 |
6 | MiniShadertoyLite
7 | The tiniest WebGL shader playground!
8 | golfed (364b) + demo by LiterallyLara
9 |
10 |
11 | See also: MiniShadertoy and blog post.
12 |
13 |
14 |
15 |
16 |
17 |
18 |
Shader inputs: t (frame counter), gl_FragCoord (x ∈ [0:300], y ∈ [0:150]).
19 |
The first line of the demo creates the vector p (x ∈ [-1:1], y ∈ [-1:1])
20 |
21 |
22 |
23 | ©2016-2019 - xem, LiterallyLara, aemkei, p01, subzey, sqaxomonophonen
--------------------------------------------------------------------------------
/index.min.html:
--------------------------------------------------------------------------------
1 | p=vec4(gl_FragCoord.xy/vec2(150,75)-1.,0,1);gl_FragColor=p+sin(atan(p.y,p.x)*9.)*sin(p*t/70.+9./dot(p,p)+t/70.); /* editable! */