Jamie's Mad Scientist Lab

Home / Fall 2016 / Adventures with a Sugar Cone

Adventures with a Sugar Cone

screen-shot-2016-09-12-at-10-30-24-am

 

Our assignment was to draw an ice cream cone using code where we could only draw one ellipse, one triangle and one rectangle AND we were limited to using only black and white. Although I believe my beautiful sugar cone looks fabulous, it is not coded the way I fantasized. After spending much time looking for an elegant way to place a pattern within the bounds of the triangle, I found another way to hack it together. I hope to learn the more precise way tomorrow in class, but I am happy with my results.

 

Hacked together code below:

screen-shot-2016-09-12-at-10-29-31-am

To get the latest update of me and my works

>> <<