personalized flower just for you ❤
Controls
If mood is toggled on, raising your eyebrows will lighten the flower up.
s | Save the current frame |
---|---|
g | Generate new flower |
m | Toggle real time interaction (mood) |
t | Toggle camera/tracking display |
About This Project
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:
- p5.js - Creative coding library in JavaScript that makes drawing very easy.
- clmtrackr - Real-time tracking JavaScript library.
- Face⁺⁺ - Facial recognition API, with detailed tracking information.
Shortcomings: 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.
About The Author
My name is Jan Rychlý and I love art, Ultimate Firsbee, learning about computers and having them do work for me.
 This was my final project for Generative Programming Art course at the great FI MUNI.
Here is my GitHub repo with more generative art.