Skip to content

Commit 771ad33

Browse files
committed
5th generation too much for raspberrypi
1 parent 24dcb63 commit 771ad33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lsystems/pentagonal.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class PentagonalFractal < Processing::App
88

99

1010
# Empirically determined position adjustments
11-
ADJUST = [[0, 50], [250, 500], [250, 500], [500, 280], [750, 700]]
11+
ADJUST = [[0, 50], [250, 500], [250, 500], [500, 280]]
1212

1313
attr_reader :pentagonal, :pentive
1414

@@ -27,7 +27,7 @@ def draw
2727

2828
def key_pressed
2929
case key
30-
when '1', '2', '3', '4', '5' # key corresponds to generation
30+
when '1', '2', '3', '4' # key corresponds to generation
3131
gen = key.to_i
3232
@pentagonal = Pentagonal.new
3333
pentagonal.create_grammar gen

0 commit comments

Comments
 (0)