![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_vaU_8qFt7ox0Q9XKSsbAIbwuZ48J3DLMrZIP77TYxMKdhZy5upRf99ia-pvUedPDtE3jD9obk-a8v0LQALIOpB2-yW_Yj9p5ZnuBd1ukhwS3VSFoU8vvx1nupYFO5hyphenhyphenjYwwQYp6FFjfK/s320/RoundToPi-1.jpg)
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.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqiJty_6uopK1UDHMmutdIDJiDchSvnXetmB93FUgGjb4PaJ2qE5TpmFTiW9SkwOyNiQjJ-0Ys4HffONJY7BLrKteFUrUenGJq2GkxCYzNVoYY4vditcOFvEDWdSWVYEGxk8HXUYrkhGWQ/s400/matrix.jpg)
No comments:
Post a Comment