This is a fairly strange calculation, but here goes:
if( Math.round( n /)*n%2==0 ) {//color the dot}
A lot of fractal-like features with this formula. Here's another using the same calculation but using mod 3.
Using 5 as the modulo divisor delivers strange results. My favorite of the lot:
How about a nice, modern looking rug?
Calculation per dot: Math.round(Math.sqrt(pInt)*Math.PI)%5==0
Calculation per dot: Math.round(pInt*Math.PI)%5==0
Calculation per dot: Math.round(((Math.pow(pInt, 2))*Math.PI) * (Math.sqrt(2)+1))%5==0. Some of the patterns in here look like hiragana. If you look closely you can also find Kilroy. And no, I didn't put him in there.
No comments:
Post a Comment