Keywords:
Creative coding, Motion Graphic, Nature, Processing
Date:
Mar. 2019
'The World of Flowers' is trying to imitate flowers from bloom to dying by the way of creative coding. In 'Autumn', by Lia, whose projects mainly focus on showing nature patterns by the way of creative coding. she used algorithms to simulate the scene of Autumn, such as the falling leaves, and the yellow colors in Autumn. I refer to the motion process in Lia’s projects, and use the algorithms to achieve the process from blooming to withering.
Algorithm is used to simulate the process of flowers’ growth and withering and the shape of flowers. The parameters, like the number of petals, colors, growth speed, and so on, are different to generate different shapes of flowers, so I used ‘class’to assign them specific parameters.
Furthermore, many translate functions are used to create single flower, and then for loop is used to calculate the positions of these flowers. As the consequence, much more colorful flowers will be generated over time. As for the color, I set it from HSB system, so that I can extract different color, the value of hue, with the same value of saturation and brightness. Low value in transparency and black background will create a sense of fluorescence.