Code Sketch


BASIC ANIMATION WITH SQUARE
By: Aasthajaiswal
Category: Programming
cleari()
val t = Picture {
repeat(4) {
forward(100)
right(90)
}
}
val finalPic = t
draw(finalPic)
animate {
    finalPic.translate(1,1)
}