aboutsummaryrefslogtreecommitdiffstats
path: root/examples/love.alv
diff options
context:
space:
mode:
Diffstat (limited to 'examples/love.alv')
-rw-r--r--examples/love.alv14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/love.alv b/examples/love.alv
index 71a8287..113ea2d 100644
--- a/examples/love.alv
+++ b/examples/love.alv
@@ -3,17 +3,17 @@
The size changes when the left mouse button is held, and the color
changes when space is pressed.
)
-([1]import* love math time array-)
+([1]import* love math time array)
([20]def
#(cycle colors when space is pressed)
fill-color ([21]switch ([22]key-presses "space")
- ([23]array 0.3 0 0.9)
- ([24]array 0 0.9 0.3)
- ([27]array 0.9 0.3 0)
- ([28]array 0.3 0.9 0)
- ([30]array 0 0.3 0.9)
- ([31]array 0.9 0 0.3))
+ [0.3 0 0.9]
+ [0 0.9 0.3]
+ [0.9 0.3 0]
+ [0.3 0.9 0]
+ [0 0.3 0.9]
+ [0.9 0 0.3])
#(smooth out rgb channels individually)
smooth-color ([36]map fill-color