- /
-
One line of code - Sierpinski Triangle
on 6 Oct 2021
- 5
- 61
- 0
- 0
- 141
plot(filter(1, [1 -1/2], [0 0.5 0.25 + sqrt(3 / 16) * 1j] * (abs(dec2bin(2 .^ floor(3 * rand(1, 1e5)), 3)) - 48).'), 'k.', 'MarkerSize', eps)