Added basic math functions
This commit is contained in:
@@ -16,5 +16,21 @@
|
||||
(pos 0 (of (frame) "h")))
|
||||
1 "red")
|
||||
|
||||
(stroke (line (pos 0 0) (pos (of (frame) "w") (of (frame) "h"))) 1 "red")
|
||||
(stroke
|
||||
(line
|
||||
(pos (div (of (frame) "w") 2) 0)
|
||||
(pos (div (of (frame) "w") 2) (of (frame) "h")))
|
||||
1 "red")
|
||||
|
||||
(stroke
|
||||
(line
|
||||
(pos 0 (div (of (frame) "h") 2))
|
||||
(pos (div (of (frame) "w") 2) (of (frame) "h")))
|
||||
1 "#72dec2")
|
||||
|
||||
(stroke
|
||||
(line
|
||||
(pos (div (of (frame) "w") 2) 0)
|
||||
(pos (of (frame) "w") (div (of (frame) "h") 2)))
|
||||
1 "#72dec2")
|
||||
)
|
||||
Reference in New Issue
Block a user