Lets try making these patterns to practice NetLogo.

For pattern 1 lets make a simple 3 color pattern. You’ll only need three statements. (I would suggest starting your function with “clear-all” so that you don’t keep overwriting the previous output.
These are the patterns you are creating for the three pattern buttons.
Another tip is that if you don’t see a pattern to where things are placed you might try the function “setxy random-xcor random-ycor“.

This is the pattern to create with the function pattern-1
This is the pattern to create with the function pattern-1
This the pattern to create with the function pattern-2.
This the pattern to create with the function pattern-2.
This is the pattern to create with the function pattern-3.
This is the pattern to create with the function pattern-3.
The scene button is an iterative button. It will keep running whatever code is in the scene function until it is pressed again. Please edit the code in the scene function so that the butterflies fly to the right.