Click here to Skip to main content
15,881,172 members
Articles / Programming Languages / C#

The beauty of fractals - A simple fractal rendering program done in C#

Rate me:
Please Sign up or sign in to vote.
4.92/5 (105 votes)
27 Jul 2009CPOL3 min read 172.3K   13.1K   165  
A fractal rendering application demonstrating many .NET programming techniques.
<?xml version='1.0' encoding='utf-8' ?>
<frac name='Newton Fractal by iterations required' type='FracMaster.NewtonFractalByIterationsRequired'>
<parameter name='NAME' type='System.String' >Newton Fractal by iterations required</parameter>
<parameter name='WIDTH' type='System.Int32' >800</parameter>
<parameter name='HEIGHT' type='System.Int32' >800</parameter>
<parameter name='VERSION' type='System.String' >1.0.0</parameter>
<parameter name='PALETTE' type='System.Int32[]' >-16777088,-15662976,-14548864,-13434752,-12320640,-11206528,-10092416,-8978304,-7864192,-6750080,-5635968,-4521856,-3407744,-2293632,-1179520,-65408,-61576,-57488,-53400,-49312,-45224,-41136,-37048,-32960,-28872,-24784,-20696,-16608,-12520,-8432,-4344,-256,-12713984,-12318712,-11923440,-11528168,-11132896,-10671831,-10276559,-9881287,-9486015,-9024950,-8629678,-8234406,-7839134,-7443862,-6982797,-6587525,-6192253,-5796981,-5335916,-4940644,-4545372,-4150100,-3754828,-3293763,-2898491,-2503219,-2107947,-1646882,-1251610,-856338,-461066,-1,-16760832,-16235000,-15709168,-15183336,-14657504,-14066135,-13540303,-13014215,-12488383,-11897014,-11371182,-10845350,-10319518,-9793430,-9202061,-8676229,-8150397,-7624565,-7033196,-6507108,-5981276,-5455444,-4929612,-4338243,-3812411,-3286323,-2760491,-2169122,-1643290,-1117458,-591626,-1,-10526881,-10461088,-10395295,-10329502,-10263709,-10197916,-10132123,-10066330,-10000537,-9934744,-9868951,-9803158,-9737365,-9671572,-9605779,-9539986,-9474193,-9408400,-9342607,-9276814,-9211021,-9145228,-9079435,-9013642,-8947849,-8882056,-8816263,-8750470,-8684677,-8618884,-8553091,-8487298,-8421505,-8355712,-8289919,-8224126,-8158333,-8092540,-8026747,-7960954,-7895161,-7829368,-7763575,-7697782,-7631989,-7566196,-7500403,-7434610,-7368817,-7303024,-7237231,-7171438,-7105645,-7039852,-6974059,-6908266,-6842473,-6776680,-6710887,-6645094,-6579301,-6513508,-6447715,-6381922,-6316129,-6250336,-6184543,-6118750,-6052957,-5987164,-5921371,-5855578,-5789785,-5723992,-5658199,-5592406,-5526613,-5460820,-5395027,-5329234,-5263441,-5197648,-5131855,-5066062,-5000269,-4934476,-4868683,-4802890,-4737097,-4671304,-4605511,-4539718,-4473925,-4408132,-4342339,-4276546,-4210753,-4144960,-4079167,-4013374,-3947581,-3881788,-3815995,-3750202,-3684409,-3618616,-3552823,-3487030,-3421237,-3355444,-3289651,-3223858,-3158065,-3092272,-3026479,-2960686,-2894893,-2829100,-2763307,-2697514,-2631721,-2565928,-2500135,-2434342,-2368549,-2302756,-2236963,-2171170,-2105377,-2039584,-1973791,-1907998,-1842205,-1776412,-1710619,-1644826,-1579033,-1513240,-1447447,-1381654,-1315861,-1250068,-1184275,-1118482,-1052689,-986896,-921103,-855310,-789517,-723724,-657931,-592138,-526345,-460552,-394759,-328966,-263173,-197380,-131587,-1</parameter>
<parameter name='X' type='System.Double' >-0,0414999999999998</parameter>
<parameter name='Y' type='System.Double' >0,2387875</parameter>
<parameter name='W' type='System.Double' >2,33</parameter>
<parameter name='H' type='System.Double' >2,33</parameter>
<parameter name='ITERATIONS' type='System.Int32' >32</parameter>
<parameter name='ZOOMABLE' type='System.Int32' >1</parameter>
<parameter name='SCROLLABLE' type='System.Int32' >1</parameter>
<parameter name='NUM_THREADS' type='System.Int32' >2</parameter>
<parameter name='A' type='System.Double' >1</parameter>
</frac>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Austria Austria
I have started programming at the age of 13 on the commodore 64.

Ever since then I have been programming on many systems in many languages.

During the last 12 years I have been working as professional programmer in different companies and different areas.

Now I am working as freelancer programmer / consultant

Comments and Discussions