blog . by . paul

Fractals on the Gpu

Posted in Fun Stuff, Graphics, XNA Framework by tick on August 1, 2008

I finally started the long journey to learn How-To-Program-My-Own-Graphics-Card.
My choice of language was C#. And as such I’ve decided to use XNA as the graphics API. And HLSL as my shader language.

I’ve always loved fractals. My dad used to draw them using Q-Basic on his old 33 MHZ computer. A simple black-and-white colored drawing of the Mandelbrot Set took 2 (TWO) hours to execute!

Today I’ve written a colored-version that runs in real time, without any lag.
Here’s the result:

Advertisement
Tagged with: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.