Advertisement
tpfto

arrange dots on a star

Feb 3rd, 2021
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. With[{n = 7, pent = CirclePoints[5]},
  2. Graphics[Point[Flatten[With[{div = Subdivide[Fibonacci[n]]},
  3. Transpose[{1 - div, div}].#] & /@
  4. Partition[pent[[{1, 3, 5, 2, 4, 1}]], 2, 1], 1]]]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement