Skip to content

Commit

Permalink
scale the distance to center too
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Jan 15, 2024
1 parent 6b2a8f9 commit 34b0226
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shimmers/sketches/hexpansion.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
(* 2 (Math/sin (* 0.5 (+ (/ t (+ 1 cx)) (/ t (+ 1 cy)))))))))]]
(-> hex
(g/scale-size scale)
(g/scale (+ 1.0 (* 0.66 scale)))
(g/vertices 6)
(gp/polygon2)
(geometry/rotate-around-centroid rot)
Expand Down

0 comments on commit 34b0226

Please sign in to comment.