This file contains 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
var Y_AXIS = 1; | |
var X_AXIS = 2; | |
var c1, c2; | |
var img; | |
function setup() { | |
createCanvas(640, 480); | |
img = loadImage( "kitten.png" ); |
This file contains 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
var img; | |
function setup() { | |
createCanvas(640, 480); | |
img = loadImage( "kitten.png" ); | |
background( 255 ); | |
} | |
function draw() { |
This file contains 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(640, 480); | |
// use anti-aliasing | |
smooth(); | |
// no stroke on my shapes | |
noStroke(); | |
/* |
This file contains 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(640, 480); | |
// use anti-aliasing | |
smooth(); | |
// no stroke on my shapes | |
noStroke(); | |
/* |
This file contains 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(640, 480); | |
// use anti-aliasing | |
smooth(); | |
// no stroke on my shapes | |
noStroke(); | |
/* |
This file contains 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(640, 480); | |
// use anti-aliasing | |
smooth(); | |
// no stroke on my shapes | |
noStroke(); | |
/* |
This file contains 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(640, 480); | |
// use anti-aliasing | |
smooth(); | |
// no stroke on my shapes | |
noStroke(); | |
This file contains 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(640, 480); | |
// use anti-aliasing | |
smooth(); | |
// no stroke on my shapes | |
noStroke(); | |
/* |
This file contains 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(640, 480); | |
// use anti-aliasing | |
smooth(); | |
// no stroke on my shapes | |
noStroke(); | |
/* |
This file contains 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(640, 480); | |
// use anti-aliasing | |
smooth(); | |
// no stroke on my shapes | |
noStroke(); | |