Logo by mario837 - 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: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. March 29, 2024, 01:35:19 PM


Login with username, password and session length


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



 
  Search  

  Slideshow  
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!
Stats:
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)
By: HPDZ
Bat Fractal 3


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


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


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

Comments (2) rss
0xbeefc0ffee
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.
0xbeefc0ffee
Forums Freshman
**
Posts: 17



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

pop(~(x&y)+1)

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.253 seconds with 31 queries. (Pretty URLs adds 0.011s, 1q)