https://github.com/jeanribes/simulation-proie-predateur
projet d'info 2A INSA
https://github.com/jeanribes/simulation-proie-predateur
algo insa java swing
Last synced: 4 months ago
JSON representation
projet d'info 2A INSA
- Host: GitHub
- URL: https://github.com/jeanribes/simulation-proie-predateur
- Owner: JeanRibes
- License: mit
- Created: 2018-11-14T09:03:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-09T21:31:09.000Z (over 6 years ago)
- Last Synced: 2024-12-30T04:29:03.083Z (6 months ago)
- Topics: algo, insa, java, swing
- Language: Java
- Homepage: https://vps.ribes.ovh/javadoc/
- Size: 397 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simulation-proie-predateur
projet d'info 2A INSA##
## Lancer le programme
Pour éviter que ça consomme 1Go de RAM, il faut le lancer avec `java -Xmx100M Affichage`. Ça marche même avec 25M de RAM, par contre on ne peut pas zoomer beaucoup.Sous Linux, on peut compiler et lancer avec `ant` (disponible avec `sudo apt install ant`).
## Vidéo
utilier `ffmpeg -r 30 -f image2 -s 500x500 -i %09d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p test.mp4`
si on zoome pendant la capture, il va y avoir des truc bizarres, mais la vidéo aura toujours la même taille.ffmpeg -r 60 -f image2 -s 500x500 -i "simul-Thu Nov 15 18:35:23 CET 2018/*.png" -vcodec libx264 -crf 25 -pix_fmt yuv420p "simul-Thu Nov 15 18:35:23 CET 2018.mp4"