A simple project to plot animated hearts for Valentine's Day. Or any day you want to show your love.
The heart shape graphs come from math equations. The script generates points for the equations with SymPy or NumPy and plots the points with Matplotlib.
Valentine's Day, also called Saint Valentine's Day or the Feast of Saint Valentine, is celebrated annually on February 14 in many regions of the world.
- clone the repo, not a package yet :-(
- create a virtual environment with Python 3.8+
- activate the virtual environment
- install dependencies
- run the script and follow the instructions
git clone https://github.com/chicolucio/matplotlove
cd matplotlove
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python matplotlove.py
Sure. And here is a song for you:
Lonely people - America
This is for all the lonely people
Thinking that life has passed them by
Don't give up
Until you drink from the silver cup
And ride that highway in the sky
This is for all the single people
Thinking that love has left them dry
Don't give up
Until you drink from the silver cup
You never know until you try
Well, I'm on my way
Yes, I'm back to stay
Well, I'm on my way back home
This is for all the lonely people
Thinking that life has passed them by
Don't give up
Until you drink from the silver cup
She'll never take you down or
Never give you up
You'll never know until you try
Click in the image below to listen:
All contributions are welcome.
Issues
Feel free to submit issues regarding:
- recommendations
- more heart animations
- enhancement requests and new useful features
- code bugs
There are some open issues waiting for your help, see here.
Pull requests
- before starting to work on your pull request, please submit an issue first
- fork the repo
- clone the project to your own machine
- commit changes to your own branch
- push your work back up to your fork
- submit a pull request so that your changes can be reviewed
Beerware, see LICENSE. Yeah, I like beer.