Skip to content

Commit 69504ac

Browse files
committed
tidy up
1 parent 0fa51b4 commit 69504ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

external_library/gem/toxiclibs/geometry/voronoi1.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ def draw
1515
background 0
1616
fill 0
1717
smooth
18-
strokeWeight 1
18+
stroke_weight 1
1919
stroke 255
2020
voronoi.get_regions.each { |polygon| gfx.polygon2D(polygon) }
21-
save_frame("voronoi-001.png")
21+
save_frame(data_path('voronoi-001.png'))
2222
end
2323

2424
def settings

external_library/gem/toxiclibs/geometry/voronoi2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def draw
2020
fill colors.sample.toARGB
2121
gfx.polygon2D(polygon)
2222
end
23-
save_frame('voronoi-002.png')
23+
save_frame(data_path('voronoi-002.png'))
2424
no_loop
2525
end
2626

0 commit comments

Comments
 (0)