mermaid cove
fill('cove')
stamp('mermaid',680,724)
fishes = []
function tap() {
fish = stamp('fish2',x,y,80)
fishes.push(fish)
tap.size
}
function loop() {
fishes.forEach(swim)
}
function swim(fish) {
vector = random(0,4)
travel = random(-100,100)
if (vector == 0) {
fish.move(UP, travel, 1000)
} else if (vector == 1) {
fish.move(DOWN, travel, 1000)
} else if (vector == 2) {
fish.move(RIGHT, travel, 1000)
} else {
fish.move(LEFT, travel, 1000)
}
4
votes
charlieprinsessnerd
shared this idea