Wk 13 – EXTRA CREDIT – Lizabeth’s Geometric Art Algorithm

Here it is! Yet another algorithm that I followed! The algorithm went as followed:

1)Using a ruler, draw a straight line on a blank piece of paper

2) Draw an other line, making sure both lines touch at any point.

3)Continue this, each new line touching the last

4) Stop drawing lines once the page looks evenly covered in lines

5) Open Pandora Radio- choose shuffle station

6)Start to study for Nutrition 132 quiz

7) Every time you choose to skip a song, fill in a random shape with circles

8) Every time a song plays that you like, shade in a random shape completely

9)Repeat until you finally remember all of the water-soluble vitamins

Alright, so I followed this algorithm… and as usual I tried to break it. Why am I breaking people’s algorithms? Because I enjoy finding exploits. I enjoy finding little things that can make a piece of code break in two. I enjoy experimenting with the absurd to see exactly where an algorithm falls apart. And this is where the following algorithm fell apart:

Here's the result!

Here’s the resulting masterpiece!

Notice how I followed the algorithm EXACTLY: The lines are spaced apart evenly, they are all connected, and yet… they do not create enclosed shapes. Therefore, there is absolutely nothing to fill in, and thus, the desired result is not achieved.

This series of extra credit goes to show exactly how important debugging/QA is, since if your logic is flawed when you write and algorithm or a piece of code, the results may surprise you!

If you want to check out this person’s blog, you can find it here:

This entry was posted in art110, csulb and tagged , . Bookmark the permalink.

Leave a Reply

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

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s