Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Sunflower Fractal - Practice

0.00/5 (No votes)
22 Nov 2013 1  
Sunflower fractal, so that you can play and create a wonderful image

Introduction

I love fractals and kaleidoscopic images. After reading the article Fractals in theory and practice, I decided to add some additional properties to the sunflower fractal, so that you can play and create a wonderful image. The code for generating Fractals is taken from Fractals in theory and practice.

Using the Application

I added a few controls to change the properties of a sunflower: background color, the color of a sunflower seed, color of border of sunflower seed, seed size and thickness of the contour of a sunflower seed. In addition, button “Save” to save created image as a PNG image with a transparent background. You can set the properties of the seeds and run generation.

Interesting Features

During the generation of the Sunflower, you can change seeds sizes, the border thickness and color. Change the color of the seed during the generation (before generating press “Seed color” and change the color using slider ) allows you to create wonderful images.

There is another possibility for generation of sunflower.

Ctrl + - with a random choice of size and color of seeds-. During the generation, you can change the border thickness and border color of a seed.

Shift + - with a random choice the color of seeds. During the generation, you can change sizes and the border thickness and border color of a seed.

Alt + - seeds color in the same spiral does not change. During the generation, you can change sizes and the border thickness and border color of a seed.

History

  • 22 Nov 2013 - Added two modes of generation of sun flower. 
  • 7 Nov 2013 - Initial release. 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here