We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa51b4 commit 69504acCopy full SHA for 69504ac
external_library/gem/toxiclibs/geometry/voronoi1.rb
@@ -15,10 +15,10 @@ def draw
15
background 0
16
fill 0
17
smooth
18
- strokeWeight 1
+ stroke_weight 1
19
stroke 255
20
voronoi.get_regions.each { |polygon| gfx.polygon2D(polygon) }
21
- save_frame("voronoi-001.png")
+ save_frame(data_path('voronoi-001.png'))
22
end
23
24
def settings
external_library/gem/toxiclibs/geometry/voronoi2.rb
@@ -20,7 +20,7 @@ def draw
fill colors.sample.toARGB
gfx.polygon2D(polygon)
- save_frame('voronoi-002.png')
+ save_frame(data_path('voronoi-002.png'))
no_loop
25
26
0 commit comments