Skip to content

Instantly share code, notes, and snippets.

@borkDoy
Last active May 27, 2019 21:02
Show Gist options
  • Save borkDoy/effff3840e297340889aed0155f3fb84 to your computer and use it in GitHub Desktop.
Save borkDoy/effff3840e297340889aed0155f3fb84 to your computer and use it in GitHub Desktop.
for ( j = 0; j < columns + 1 ; j++ ){
rect( j * columnWidth, i * columnHeight, columnWidth, columnHeight )
//create my point
var pointPositionX = random( j * columnWidth - columnWidth, j * columnWidth )
var pointPositionY = random( i * columnHeight - columnHeight, i * columnHeight )
circle( pointPositionX, pointPositionY, 10 )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment