Umbrella

Umbrella
Published on Oct 11, 2019 by Jiaolyulu


Umbrella


WEEK SIX: using repetitive things


see the source code

I create this umbrella because I fall in love with umbrella when I saw the umbrella made from Yuhang. I am afraid that code can never reach to its beauty. I like the texture of oil paper and I feel I can never use code to represent its texture.

schematic diagram
For the most part, I was doing calculation for deciding the starting point and the ending point of each line. I have to decide the ellipse of the umbrella's bottom. After that, I can know the point on this ellips by calculating using an variable called angle. Then, I can get the specific position of a point on the umbrella to make the structure of supporting this umbrella to be opened.
However, this project takes a long time for calculation but the outcome never seems to be good. I found that code is rigid and if I am writing code based on my Mathematic knowledge and precise calculation, I can never get something unexpexted and casual, as the knowledge of machanism is so human forced and it is nature that code should represent.
Right now I am trying to add some texture to my project by using pictures, something in the form of PNG that can replace rect, elllipse and circle. However, I think I should spend more effect in figuring out how code can learn about a pattern. I really like the work shown in the front door of ITP, which is constant rendering drawing of a picture that is fading away, with colorful ink flowing down. That is something adding a texture using code withnout adding pictures.