Skip to content

🖼️ Windows desktop app that can draw customizable fractals

Notifications You must be signed in to change notification settings

Marat-Tim/Fractals-WPF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖼️Fractals

The application is implemented on the WPF platform (my first project on this platform).

This app can draw 5 fractals:

  • Pythagorean Tree
  • Koch curve
  • Serpinsky Carpet
  • Sierpinski Triangle
  • Cantor set

Each fractal can be slightly changed using settings (you can change the recursion depth, zoom in/out, change the start/end color, you can change the angle of the branches of the Pythagorean tree, and so on)

In this branch, the process of adding a new fractal to the project was simplified using reflection (all classes derived from Fractal are searched in the project and a menu is implemented based on them). Now if you need to add a new fractal, then you need to implement only its class and add a StackPanel of settings for it to the xaml markup.

P. S. You may have noticed that it would most likely be more convenient to pass information about the next iteration in the DrawFractal method. I didn't do this because the terms of reference stated that this function should have only 1 parameter - the depth of recursion (the project was done as homework)

About

🖼️ Windows desktop app that can draw customizable fractals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages