Logo by wmauzey - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit us on facebook
 
*
Welcome, Guest. Please login or register. April 19, 2024, 11:47:23 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Prime - Hilbert fractal  (Read 802 times)
0 Members and 1 Guest are viewing this topic.
Mircode
Alien
***
Posts: 37


« on: April 01, 2010, 06:06:35 PM »


Hi there!

I was thinking about completely new fractal ideas. One rather bizarre one that came to my mind was to go along the Hilbert curve and count the steps. I colored the current pixel white if its index is prime and black if it's not.

I didn't expect much from this, since it's completely far-fetched. It would probably just look like noise, but my curiosity was stronger.
The more I was suprised by the results I got.

8x8 and 16x16 and so on didn't show anything interesting. But for higher recursion levels, there seemed to appear large areas without a prime number in them. They are even connected over huge gaps where two totally different numbers are neighboring. The shapes look pretty interesting.

Here is a level 12 pic, 4096x4096px in size:
http://www.stud.tu-ilmenau.de/~miku3933/WebSpace/mathstuff/primehilbert12.html

Can anyone think of a connection between prime numbers and the Hilbert curve? Maybe the Sieve of Eratosthenes has something todo with it.

Anyway, I think it is an interesting effect and I hope it has not been discovered so far!

Greetings,
  Mirko
Logged
reesej2
Guest
« Reply #1 on: April 01, 2010, 07:15:10 PM »

Oh, what a fascinating phenomenon! Positively spectacular!  wink
Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #2 on: April 01, 2010, 07:31:01 PM »

that is the spirit ... surprisingly, i had similar results, when counting the bulbs of a mandelbulb, and dotted them on my wall ... cheesy
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #3 on: April 01, 2010, 09:55:54 PM »

Heheheh... since you linked it in the form of an HTML - instead of the raw picture - I had a hard time reading it. But as soon as I saw how it shot out, without even distinguishing a letter, I could guess what it was going to be. Very nice!

It would be fun to try actually doing that, with the primes and the Hilbert curve... it could also be tried with other space-filling curves.

This reminds me of one xkcd where the internet's 256 sections of IP addresses are plotted along a hilbert curve. Kinda fun to see "Europe's internet" right there, "America's internet" over here... Good chucklings! smiley
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
Mircode
Alien
***
Posts: 37


« Reply #4 on: April 01, 2010, 10:38:42 PM »

Quote
Heheheh... since you linked it in the form of an HTML - instead of the raw picture - I had a hard time reading it.

Well, that was the whole point. It should still look a little real when just the upper left corner was displayed tongue stuck out
And firerfox would have scaled it so it fits on screen if I had just linked the picture.

Quote
It would be fun to try actually doing that

The background actually is that. I really tried it some days ago. For this april pic I just multiplied the result with a mask so that the letters would appear. It starts at the upper left corner, you can see kind of gradient contrast lines there due to the previously mentioned gaps and because the density of prime numbers decreases with higher numbers. Maybe try to shrink the pic with a good algorithm, it becomes more visible.

Quote
This reminds me of one xkcd where the internet's 256 sections of IP addresses are plotted along a hilbert curve.

This is where the idea for this "fractal" was born cheesy
« Last Edit: April 01, 2010, 10:40:17 PM by Mircode » Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.159 seconds with 24 queries. (Pretty URLs adds 0.008s, 2q)