Hello, Coracle
import coracle.Drawing
class HelloCoracle: Drawing() {
val worldColour = 0xf5f2f0
val foregroundColour = 0x000000
var x = 0
override fun setup() {
(450, 450)
sizeif(isAndroid()) strokeWeight(5)
}
override fun draw() {
(worldColour)
background(foregroundColour, 0.75f)
stroke
var y = 0
var d = 3
while(y < height){
var x = 0
while(x < width){
(x, y, x, y + d)
line+= d
x }
+= d
y ++
d}
()
noLoop}
}