HOME | DD

deathblob — Corner blinds fractal

Published: 2012-07-22 22:01:40 +0000 UTC; Views: 278; Favourites: 1; Downloads: 11
Redirect to original
Description A simple math function comparing the angles to the two corners.
Related content
Comments: 2

Irratio [2012-08-01 06:46:13 +0000 UTC]

If you don't mind sharing your secret, I would be delighted:

How do you create these images? I know a bit of C++, but have never considered looking at visualization libraries. Did you write from scratch, or what tools are you using specifically?

I don't mean to steal your workflow, I am just fascinated. Thanks for the education.

👍: 0 ⏩: 1

deathblob In reply to Irratio [2012-08-03 16:27:32 +0000 UTC]

Comment system ate my first reply... Anyway. I use the program GameMaker and its coding system. I used a nested for loop to loop though every pixel of the image, then run a math formula like z= x*y then use that z value as part of a color value, like red green blue or hue value saturation. I then draw that pixel to video card memory and when the whole loop is finished it saves it to png file. I can't quite figure out the formula I used for this one, I know it has to do with the angle from each pixel to the upper left and lower right corners. I think I add 180 to the value for the lower right calculation, then I do something to the two values... Applying bitwise OR, or bitwise Exlusive OR 's to x and y values, or angles, or distances from points has neat effects too.

I'm not familar with c++, but if I get a chance i'll ask a friend who is. Also you could try asking [link] what program he used for [link] .

👍: 0 ⏩: 0