summaryrefslogtreecommitdiff
path: root/instructions.html
diff options
context:
space:
mode:
Diffstat (limited to 'instructions.html')
-rw-r--r--instructions.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/instructions.html b/instructions.html
index f0c6800..435a9d9 100644
--- a/instructions.html
+++ b/instructions.html
@@ -20,10 +20,10 @@ mousex, mousey
<u>Math aliases</u>
floor, ceil, round, abs, sign
pow, exp, sqrt
-sin, cos, tan
-asin, acos, atan, atan2
+cos, sin, tan
+acos, asin, atan, atan2
random()
-E, PI
+E, PI, PHI
<u>convenience functions</u>
clamp(n,min,max)
@@ -31,7 +31,7 @@ lerp(n,a,b)
mix(n,a,b)
step(n,a,b)
smoothstep(n,a,b)
-sinp, cosp (mapped to [0,1])
+cosp, sinp (mapped to [0,1])
pixel(x,y) == 4*(y*w+h)
rand(n), randint(n)
choice(array)