Skip to content

Commit ce851ba

Browse files
leifericfclaude
andcommitted
Fix circle-pack call in gallery to use bounds vector
The API consistency changes moved to [x y w h] bounds vectors, but this gallery example still used the old 4-arg positional form. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fd84902 commit ce851ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/gallery/generative.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
(let [w 600 h 600
3636
pal (:sunset palette/palettes)
3737
weights [3 2 2 1 5]
38-
circles (circle/circle-pack 20 20 560 560
38+
circles (circle/circle-pack [20 20 560 560]
3939
{:min-radius 4 :max-radius 45 :padding 2
4040
:max-circles 300 :seed 42})
4141
colors (palette/weighted-sample pal weights (count circles) 42)]

0 commit comments

Comments
 (0)