diff --git a/README.md b/README.md index 48a2a1f..ecbb574 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,11 @@ Tiny Shader mimics such a shading unit and executes a shader with 10 instruction These images and many more can be generated with Tiny Shader. Note, that shaders can even be animated by acessing the user or time register.
GETX R0|
SINE R1
SETR R1
GETY R0
SINE R1
SETG R1
GETX R0|
GETY R1
XOR R0 R1
SETRGB R0
GETY R1|
LDI 1
AND R1 R0
IFNE R1
LDI 63
IFEQ R1
LDI 0
SETRGB R0
CLEAR R3| +
GETX R0
GETUSER R1
ADD R0 R1
SETRGB R0
SINE R0
HALF R0
GETY R1
IFGE R1
SETRGB R3