Skip to content
Permalink
Browse files

Merge branch 'ft-buttons'

  • Loading branch information
Andrew Lawson Andrew Lawson
Andrew Lawson authored and Andrew Lawson committed Nov 29, 2014
2 parents 391584a + 3a990fb commit 34da868f0e1d61a748f00f2e186f2c5dc1781ac4
Showing with 8 additions and 7 deletions.
  1. +8 −7 geometric_separators.pde
@@ -1,11 +1,11 @@
// Reset Button
int reset_x = 100;
int reset_y = 450;
// Reset button coordinates
int reset_x = 140;
int reset_y = 460;
int reset_w = 100;
int reset_h = 25;
// Calculate Button
// Calculate button coordinates
int calc_x = 250;
int calc_y = 450;
int calc_y = 460;
int calc_w = 100;
int calc_h = 25;
// Button Shapes
@@ -74,8 +74,9 @@ void draw() {
background(255);
shape(reset);
shape(calculate);
text("Reset.", reset_x + 25, reset_y - 10);
text("Calculate.", calc_x + 25, calc_y - 10);
fill(50);
text("Reset.", reset_x + 30, reset_y + 15);
text("Calculate.", calc_x + 25, calc_y + 15);
for (PVector point : input) {
strokeWeight(4);
point(point.x, point.y);

0 comments on commit 34da868

Please sign in to comment.
You can’t perform that action at this time.