Algorithm Projects with C#

Fractals you own this product

This project is part of the liveProject series Six Small Algorithm Projects with C#
prerequisites
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

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • share your subscription with another person
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


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.

prerequisites

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:

TOOLS
  • Visual Studio 2022
  • Windows operating system
TECHNIQUES
  • 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

features

Self-paced
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.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Fractals project for free