July Flower Deity - Lan
July 2024, California
Creative Coding, Shader, Generative Art
Individual Work
The flower deity for July in traditional Chinese culture is the Orchid flower, which is "Lan" in Chinese. Lan flower hold a special place in Chinese aesthetics and symbolism, often representing elegance, nobility, grace, and integrity. And the qualities represented by the flower deity symbolizes the characteristics possessed by those born in this month.
I am not good at painting, but want to use my own skills to draw these beautiful plants. And the painting is dynamic, which means the lan will grow differently every time you see it. And you can click to bloom the flowers any where on the canvas, just create your own Lan Sketch.
Inspiration Board

Diagram
The project consists of three components: the flower, the branch and the background effect. Each component has its own distinct behaviors and characteristics.

Branch
Here is a detailed explanation of the branch component. So the SingleBranch.js defines each single branch, meanwhile each single branch consists of several lines that defines in BranchLine.js. The reason to use several lines to consist one branch is I want more dynamic colors for each branch.



Flower
For each flower, the interaction is when you click on the canvas, it will generate a new lan flower on the position where you clicked. In order to make the flower has more dynamic shape and color, each flower consist of 4 or 5 petals. Meanwhile each petal consists of a set of lines. The line has the basic shape of sin wave with some noise on the curve. The color of the lines are changing according to the line position to create the gradient effect.


