Your_Flower is inspired by the idea of gifting flowers. Flowers can be beautiful but the real ones can also be expensive. In this project I attempted to make a generator that takes an image of you and presents a beautiful virtual abstract flower generated based on your unique face features.
There are three main kinds of flowers you can get - Rose, Daisy and Maurer.
Rose is made up of layers of concentric closed curves that are deformed based on Perlin noise.
Daisy is made up of petals that are drawn around a circle.
And Maurer is plotted walk of a rose curve (see Maurer Rose on Wikipedia).
After you press 'G' image from the webcam is sent to the Face⁺⁺ API with a request for analysis. Received data is then combined into three seeds that are then used in to determine properties of flowers like color, jitter strength, counts of petals, etc. In addition real-time tracking is used to interactively manipulate the generated flower slightly based on eyebrow height.
( ͝סּ ͜ʖ͡סּ) ( •̀ ᴗ •́ )
The technologies I am using:
Face⁺⁺ - Facial recognition API, with detailed tracking information.
Sadly the tracking technology is not as precise and consistent to grant the same flower to a single person every time - which was kind of the plan originally. This way at least you can get more different flowers that you know are still generated based on your lovely face.
Try generating a flower based on your face features at honzaflash.github.io/generative-art/your_flower/your_flower.html
If you want to just play around with generating flowers, you can do it at honzaflash.github.io/generative-art/your_flower/just_flower.html