Learning-Python/README.md

38 lines
822 B
Markdown
Raw Normal View History

2020-04-12 06:06:36 +00:00
# Learning Python
2020-10-07 09:59:33 +00:00
This is the Repository for my python projects. 🤪
2020-04-12 06:06:36 +00:00
2020-10-07 09:59:33 +00:00
### List of what this repository contains:
2020-04-12 06:06:36 +00:00
2020-10-07 09:59:33 +00:00
* AreaCalc
* Particles
* Explosions
2020-04-12 06:06:36 +00:00
## AreaCalc
Is a terminal area / volume calculator written in Python and it can calculate the most shapes
2019-12-16 08:37:36 +00:00
2020-10-07 09:59:33 +00:00
<u> **How to run:** </u>
Open a terminal in the main folder and type:
>$ python3 AreaCalc/AreaCalc.py
2019-12-16 08:37:36 +00:00
An example of what forms it can calculate:
![alt text](https://i.imgur.com/7RR9V3Z.png "")
2020-10-07 09:59:33 +00:00
# Particles
## Explosions
An example of how you can make explosions in pygame zero.
<u> **How to run:** </u>
To run the example you need PyGame Zero. You can install it by runnig this command:
>$ pip3 install pgzero
And to run the example run this command in the main folder:
>$ pgzrun Particles/explosion.py
![alt text](https://i.imgur.com/ca4Bk41.png)