Skip to content

Commit 096cae3

Browse files
committed
Until we fix opengl use Java2D
1 parent 19be165 commit 096cae3

27 files changed

+28
-28
lines changed

basics/color/brightness.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def draw
2525
end
2626

2727
def settings
28-
size 640, 480, P2D
28+
size 640, 480
2929
end
3030
end
3131

basics/color/radial_gradient.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def create_gradient(x, y, radius, c1, c2)
5151
end
5252

5353
def settings
54-
size 640, 360, P2D
54+
size 640, 360
5555
end
5656
end
5757

basics/color/relativity.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def draw_band(color_order, ypos, bar_width)
2828
end
2929

3030
def settings
31-
size 640, 480, P2D
31+
size 640, 480
3232
end
3333
end
3434

basics/color/wave_gradient.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def setup
3434
end
3535

3636
def settings
37-
size 640, 360, P2D
37+
size 640, 360
3838
end
3939
end
4040

demo/chladni.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Chladni < Processing::App
2323
attr_reader :m, :n, :epsilon, :recompute
2424

2525
def settings
26-
size(500, 500, P2D)
26+
size(500, 500)
2727
end
2828

2929
def setup

demo/circles.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Circles < Processing::App
66
load_library :circle
77

88
def settings
9-
size(800, 600, P2D)
9+
size(800, 600)
1010
end
1111

1212
def setup

gems/pbox2d/liquid_fun_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class LiquidFunTest < Processing::App
1616
attr_reader :boxes, :boundaries, :box2d
1717

1818
def settings
19-
size(640, 360, P2D)
19+
size(640, 360)
2020
end
2121

2222
def setup

gems/toxiclibs/simulation/gray_scott_image.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def key_pressed
7373
end
7474

7575
def settings
76-
size(256, 256, P2D)
76+
size(256, 256)
7777
end
7878
end
7979

gems/toxiclibs/simulation/gray_scott_tone_map.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def key_pressed
7474
end
7575

7676
def settings
77-
size(256,256, P2D)
77+
size(256,256)
7878
end
7979
end
8080

gems/toxiclibs/simulation/simplex_noise_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class SimplexNoiseTest < Processing::App
99
NS = 0.06 # (try from 0.005 to 0.5)
1010
KEYS = %w(1 2 3 4).freeze
1111
def settings
12-
size 300, 300, P2D
12+
size 300, 300
1313
end
1414

1515
def setup

0 commit comments

Comments
 (0)