Skip navigation.

exploreopera

| Help

Sign up | Help

A Blag About Graphics and Programming and Stuff

Fractals are Fun

One of my assignments for the C# course at the university is fractals.
Nothing fancy, simply "fractals" so here we go:

Mandelbrot set:
(click for uber large)

Same as above, just zoomed in somewhere:

Julia set (C= -0.835-0,2321i):

Here's a good website if you're interested how it works and don't want your head to explode from reading a lot of smart words.

Fractals are fun because you can (in theory) zoom in as much as you want, but what happens when you run out of floating point precision? This:

C# and .NET is great but working with System.Drawing.Color is terrible. There are a lot of predefined values (wtf is "BlanchedAlmond" or "MediumTurquoise" ?!) and a FromArgb(int, int, int, int) method.
What the hell? If a linear interpolation method too much to ask, then how about addition, subtraction, multiplication operators or at least FromArgb(float, float, float, float)?

Content PipelineFractals are Even More Fun!

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Please type this security code : c5629a

Smilies

July 2008
SMTWTFS
June 2008August 2008
12345
6789101112
13141516171819
20212223242526
2728293031