rocinantealpha

reference / lists

add

Puts an item at the end of a list: add p to particles.

dots = []for i from 1 to 8 [ add { i * 45, 150 } to dots ]for each d in dots [ circle at d radius 15 fill gold ]
what it draws: the whole window, 400 by 300
What the example of add draws

How to write it

add item to list

Related