Logo by Kaliyuga - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. March 29, 2024, 09:30:09 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: A discrete fractal for a change  (Read 1687 times)
0 Members and 1 Guest are viewing this topic.
0xbeefc0ffee
Forums Freshman
**
Posts: 17



« on: June 10, 2017, 03:10:20 AM »

A discrete fractal for a change



http://www.fractalforums.com/index.php?action=gallery;sa=view;id=20351

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!
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.459 seconds with 26 queries. (Pretty URLs adds 0.043s, 2q)