Andi’s Final Project

As a computer science major, I wanted to design something for my final project that could be used by professors in Denison’s computer science department. In the introductory level computer science classes, recursive algorithms are one of the hardest topics for students to grasp. Fractals are objects in which similar patterns recur at progressively smaller scales, and these are usually used to introduce recursion. Thus, I decided to design a  3D fractal tree using recursion in OpenSCAD. Ideally, professors will be able to use the OpenSCAD code alongside the printed object to better illustrate how a recursive algorithm works. Below is the recursive algorithm followed by one such model made using the code that I’ve posted on Sketchfab. I modeled my code off of this object on Thingiverse.


The full code can be found on Thingiverse. I’ve also made the trees customizable, so that you can change the number of branches in each layer, the number of layers of branching, the branch angle, the length of the branches, etc. However, on an FDM printer, not all trees you can design using this customizer will be printable. Below are the final prints of a few different trees I designed.

This entry was posted by andiscarcello.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: