https://github.com/akihiko47/heat-simulation
A simulation of metal melting made with python and pygame
https://github.com/akihiko47/heat-simulation
heat pygame python
Last synced: 6 months ago
JSON representation
A simulation of metal melting made with python and pygame
- Host: GitHub
- URL: https://github.com/akihiko47/heat-simulation
- Owner: akihiko47
- Created: 2023-10-14T15:29:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-14T15:57:51.000Z (almost 2 years ago)
- Last Synced: 2025-02-16T04:30:17.050Z (8 months ago)
- Topics: heat, pygame, python
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔥 Heat simulation 🔥

A simulation of metal melting made with python and pygame.
## Usage 🎮
1. You can copy the directory to make changes using ```git clone https://github.com/akihiko47/Heat-Simulation.git``` or download `.zip` arichve.
2. Open `main.py`
3. Configure settings.
4. Enjoy the result.## Settings ⚙️
1. `colors_hex` - list of all colors in heat gradient
2. `display_color` color behind the molten metal
3. `number_of_sqr` size of matrix (n x n)
4. `pen_size` radius of heating pen (in squares)
5. `cool_speed` cooling speed
6. `heat_speed` heating speed
7. `full_cool = True / False` cool down or not
8. `sep` separation between squares (in pixels)
9. `sqr_width, sqr_width` width and height of one square (in pixels)## Contributions
Contributions are welcomed! 👋