Logo by Pauldelbrot - Contribute your own Logo!


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: Follow us on Twitter
Welcome, Guest. Please login or register. December 03, 2022, 05:55:27 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!


Heart in the CloudsA discrete fractal for a changeBaryogenesis
A discrete fractal for a change
Previous Image | Next Image
Description: Tired of the same old ray marched fractals that look like pudding from HELL? This is the submission for you!

Every pixel is either white or black.

This is what the algorithm is, for each pixel's integer coordinates (in binary):

0 - y -> a
a & x -> a
a - x -> a
bitwise_population(a) -> a
if(a is odd){the pixel is black}

How does this generate patterns that look like Koch snowflakes? I don't know!
Total Favorities: 0 View Who Favorited
Filesize: 47.17kB
Height: 1093 Width: 1024
Discussion Topic: View Topic
Keywords: discrete bitwise hack 
Posted by: 0xbeefc0ffee June 10, 2017, 03:10:20 AM

Rating: Has not been rated yet.

Image Linking Codes
BB Code
Direct Link
Html Link
0 Members and 1 Guest are viewing this picture.
Related Images
Fractal Owl

Rating: *****
Filesize: 436.87kB
Date: January 17, 2009, 07:34:22 PM
Comments (3)
By: Ross Hilbert
Bat Fractal

Rating: ***
Filesize: 176.2kB
Date: January 23, 2009, 05:53:37 AM
Comments (0)
Bat Fractal 3

Rating: ***
Filesize: 109.91kB
Date: January 23, 2009, 05:55:35 AM
Comments (0)
A change of scaling, with no regrets

Rating: *****
Filesize: 495.87kB
Date: July 05, 2010, 04:50:48 PM
Comments (0)
Fractal Matrix - 360 & stereo 3D - Mandelbulb 3D fractal

Rating: *****
Filesize: 378.23kB
Date: May 16, 2016, 01:47:41 PM
Comments (9)
By: schizo

Comments (2) rss
Forums Freshman
Posts: 17

View Profile
July 01, 2017, 05:51:48 PM
Oh yeah the plus one comes in because a signed negation is different from a bitwise negation. The difference between them causes +1 to be added.
Forums Freshman
Posts: 17

View Profile
June 21, 2017, 08:24:31 PM
I found that this algorithm can be simplified to this:


Note that the size of x and y actually matters because it effects the population. I used 64 bits. (signed long long)

algorithms like are interesting because they are fast to compute.

In a ray tracer, people don't like to do real textures because they are hard. With this, you could cast floating point hit coordinates of an object to integers in order to get interesting looking features with low effort and speed decrease.

Return to Gallery

Powered by SMF Gallery Pro

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.175 seconds with 34 queries. (Pretty URLs adds 0.004s, 1q)