No description
Find a file
2023-11-19 14:33:39 +01:00
data Fixed Crash: 2023-11-12 17:04:46 +01:00
textures Added big icon to main menu, 2023-11-19 14:31:16 +01:00
.gitignore Added settings.txt to .gitignore. 2023-11-05 19:42:45 +01:00
boing.mp3 Ein Landesound 2023-11-13 13:52:30 +01:00
boing.wav Ein Landesound 2023-11-13 13:52:30 +01:00
cowyeet.py Removed one debug print. 2023-11-19 14:33:39 +01:00
empty_matrix.py Fixed Crash: 2023-11-12 17:04:46 +01:00
kreis.py Kuhschleudern 2023-11-06 21:55:46 +01:00
parabelfunc.py Parabelfunktion ohne Ausgabe 2023-11-17 21:16:33 +01:00
parabeltest.py mehr kleinigkeiten korrigiert 2023-11-14 16:04:03 +01:00
README.md Some content concerning the added parabel funktions 2023-11-18 02:38:18 +01:00

Cowyeet

Throw the cow as far as you can!

Install the Modules with the following command:

pip install pynput

In versions after 1.0, it will require Wobbl Tools.

The parabelfunc.py is used to calculate a ballistical curve with parameters for angle, speed, gravity to create a realistic flight. It returns its coordinates depending on the resolution (xmax-xmin) * (ymax-ymin). So you probably want to keep xmin and ymin at 0. 0/0 is in mathematical representation left/down corner.

The function is called

berechneflugbahn(cow, xmin, xmax, ymin, ymax, startwinkel, startgeschwindigkeit, starthoehe)

and returns a list of x and y coordinates: [x1,y1,x2,y2....] like the following example for a display with a width of 10 points/pixel/char/weltraumgnietschies starting with x=0

[0, 0, 1, 1.1, 2, 1.7, 3, 2.4, 4, 2.9, 5, 3.5, 6, 4.0, 7, 4.5, 8, 5.0, 9, 5.4]

The parameter cow is not useless, it can be set to any singlebyte ASCII string like "*" or some doublespaced UTF8 char like "🐄". If it is a singlechar in ASCII, which is the default, the curve will be calculated with singlesteps, if ist is a UTF8-String, each step will be 2 points, because we now know, we have a textmode display and doublewidth chars.