Algorithm Projects with C#

Fractals you own this product

This project is part of the liveProject series Six Small Algorithm Projects with C#
Windows Forms • classes • constructors • extension methods • basic trigonometry and complex numbers
skills learned
recursion • pixel manipulation • line-drawing fractals • escape-time fractal
Rod Stephens
1 week · 8-10 hours per week · INTERMEDIATE
filed under

placing your order...

Don't refresh or navigate away from the page.
liveProject This project is part of the liveProject series Six Small Algorithm Projects with C# liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. Solve practical problems, write working code, and analyze real data—with liveProject, you learn by doing. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $19.99 $29.99 you save $10 (33%)
Fractals (liveProject) added to cart
continue shopping
adding to cart

choose your plan


only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free eBook every time you renew
  • choose twelve free eBooks per year
  • exclusive 50% discount on all purchases
  • Fractals eBook for free
Look inside

Take a trip into the fascinating world of fractals! Here, you’re an art director for a documentary on the 1960s psychedelic movement. Your goal is to wow your audience with a mind-bending title image—a perfect application for fractals. You’ll build programs that create fractals by drawing lines recursively, create ghostly multi-dimensional shapes, and draw escape-time fractals using the Mandelbrot set (the most popular fractal in the world).

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book and video resources

When you start your liveProject, you get full access to the following books and videos for 90 days.

project author

Rod Stephens

Rod was a Microsoft Visual Basic Most Valuable Professional (MVP) for 15 years, has been a speaker at users’ groups and conferences, and has taught introductory programming courses. He’s written more than 35 books including Essential Algorithms: A Practical Approach to Computer Algorithms Using Python and C# and Beginning Software Engineering, which include material related to this series of liveProjects.


This liveProject is for intermediate C# programmers who are familiar with Windows Forms. To begin these liveProjects you will need to be familiar with the following:

  • Visual Studio 2022
  • Windows operating system
  • Create a class
  • Define constructors
  • Create a Windows Forms interface
  • Use menu and `PictureBox` controls
  • Create and use extension methods
  • Understand the basics of trigonometry
  • Understand the basics of complex numbers
  • Use `Graphics` objects to draw
  • Use the `Bitmap32` class to manipulate image pixels

you will learn

In this liveProject, you’ll practice recursive algorithms and learn how to preserve the aspect ratio of an image while resizing it as you explore three different kinds of fractals.

  • Draw on a `Bitmap` object
  • Use mouse events to let the user select part of an image
  • Recursion


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.