Crates.io | simuwaerm |
lib.rs | simuwaerm |
version | 0.2.1 |
source | src |
created_at | 2022-08-05 06:59:05.066402 |
updated_at | 2022-08-05 06:59:05.066402 |
description | A simple heat simulation for the terminal. |
homepage | |
repository | https://github.com/file-acomplaint/kyun |
max_upload_size | |
id | 639179 |
size | 17,860 |
Simuwaerm is a simple heat simulation written in pure Rust.
The border is fixed, the middle tiles simulate a conductive plate. If you leave it be, it numerically solves the border condition, so that the middle has Laplacian 0 everywhere. You can manually add heat or cold with keys h
and k
.
λ
is the uniform conductivity and, in reality, satisfies 0 < λ < 1
. (Feel free to break this boring limiting condition however.)
The language can be switched to German with l
.
You can download a binary .
If you want to build it yourself, you can run:
git clone https://github.com/file-acomplaint/simuwaerm.git
cd simuwaerm
cargo run --release
Simuwaerm runs on UNIX and Windows, about equally well. Above is a screenshot on KDE Konsole, below on the Command Prompt:
If you happen to use a niche operating system, say macOS, please try compiling and send me a funny caption of what happens. Or do a pull request, I suppose.