Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chicolucio/matplotlove
Animated hearts for Valentine's Day. Or any day you want to show your love
https://github.com/chicolucio/matplotlove
graphics love matplotlib matplotlib-animation numpy python sympy valentine-day
Last synced: about 2 months ago
JSON representation
Animated hearts for Valentine's Day. Or any day you want to show your love
- Host: GitHub
- URL: https://github.com/chicolucio/matplotlove
- Owner: chicolucio
- License: other
- Created: 2022-02-14T19:36:11.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T01:17:06.000Z (almost 3 years ago)
- Last Synced: 2024-05-01T16:00:31.754Z (9 months ago)
- Topics: graphics, love, matplotlib, matplotlib-animation, numpy, python, sympy, valentine-day
- Language: Python
- Homepage:
- Size: 7.62 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Matplotlove
[![author](https://img.shields.io/badge/author-Francisco Bustamante-red.svg)](https://www.linkedin.com/in/flsbustamante/)
[![](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/chicolucio/matplotlove/issues)![heart3d01](images/heart3d01small.gif)
![heart3d02](images/heart3d02small.gif)
![heart01](images/heart01small.gif)![heart02](images/heart02small.gif)
![heart03](images/heart03small.gif)
![heart04](images/heart04small.gif)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.## Usage
1. clone the repo, not a package yet :-(
2. create a virtual environment with Python 3.8+
3. activate the virtual environment
4. install dependencies
5. run the script and follow the instructions```bash
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
```## Can I use `matplotlove` being single?
Sure. And here is a song for you:
```
Lonely people - AmericaThis 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 skyThis 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 tryWell, I'm on my way
Yes, I'm back to stay
Well, I'm on my way back homeThis 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:
[![america_lonely_people](https://img.youtube.com/vi/f3vnmV6pPKI/0.jpg)](https://www.youtube.com/watch?v=f3vnmV6pPKI)
## Contributing
All contributions are welcome.
**Issues**
Feel free to submit issues regarding:
- recommendations
- more heart animations
- enhancement requests and new useful features
- code bugsThere are some open issues waiting for your help, see
[here](https://github.com/chicolucio/matplotlove/issues).**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## License
Beerware, see [LICENSE](LICENSE). Yeah, I like beer.