Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'ft-buttons'
  • Loading branch information
Andrew Lawson authored and Andrew Lawson committed Nov 29, 2014
2 parents 391584a + 3a990fb commit 34da868
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions 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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 34da868

Please sign in to comment.