feat: add python and web implementation
This commit is contained in:
1 parent
fabbc6d147
commit
df0950ef11
30 files changed
+5458
-8
No files matched your search
@@ -1,10 +1,29 @@
|
||||
# Modellierung und Simulation Übung 1
|
||||
Dieses Reposiotry enthält zwei Projekte:
|
||||
1) Im Ordner "python" die Python-Implementierung
|
||||
2) Im Ordner "web" die JavaScript-Implementierung verfügbar und https://sim.teier.net/ue1
|
||||
2) Im Ordner "web" die TypeScript-Implementierung, verfügbar unter https://sim.teier.net/ue1
|
||||
|
||||
## Python
|
||||
|
||||
```sh
|
||||
cd python
|
||||
uv run ue1.py --animation # bunt
|
||||
uv run ue1.py --experiment alle # wind, schneise, trockenheit oder alle
|
||||
un run ue1.py --wind 0.8 --animation # Einzellauf
|
||||
```
|
||||
|
||||
## Web
|
||||
Entwicklung:
|
||||
```sh
|
||||
cd web
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Docker (nginx, http://localhost:8080):
|
||||
```sh
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
Die Web-Version verwendet einen anderen Zufallsgenerator als Python: Läufe mit demselben Seed sind reproduzierbar,
|
||||
stimmen aber nicht mit den Python-Läufen überein.
|
||||
Reference in new issue
Block a user