This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup() { | |
createCanvas( windowWidth, windowHeight ) | |
colorMode( HSB ) | |
noLoop() | |
noStroke() | |
} | |
function draw() { | |
background( 20, 20, 20) | |
// Setup a grid so i can figure out the uppper and lower bounds | |
// of where the points should go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup() { | |
var canvas = createCanvas( 1600, 1600 ) | |
canvas.parent("canvasArea"); | |
colorMode( HSB ) | |
noLoop() | |
noStroke() | |
} | |
function draw() { | |
background( 197, 31, 65 ) |
NewerOlder