Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carletes/sail
sail
https://github.com/carletes/sail
Last synced: about 1 month ago
JSON representation
sail
- Host: GitHub
- URL: https://github.com/carletes/sail
- Owner: carletes
- Created: 2014-01-26T15:23:56.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-31T02:01:56.000Z (almost 11 years ago)
- Last Synced: 2024-06-11T16:25:33.897Z (7 months ago)
- Language: Python
- Size: 301 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
sail
====Sailing simulator in Kivy. allows you to sail around a racecourse in wind and tide.
Zeroeth version: boat object with properties compass and position. interally we work in theta using mathmatical conventions. Boat has move and steer methods.
First version: one boat motors around, can be steered by buttons which adjust compass course to port or starboard by 10 degree increments.
Boat represented by circle with a radius drawn in a different color to indicate compass course.
TODO
====boat
add polars tables
given a windangle and windspeed return the theoretical boatspeed
first approximation: if no value in table for (wtheta,wspeed) then get value for 'nearest' windspeed and windangle in table. can do fancier interpolation later, or even fit a function to the table values and then use the function.model environment
wind and tide layers, start with just wind.
return conditions at pos and time
initally assumegraphics rendering
use kivy to render boat being steered around at constant speedHacking the code
================
Install [pyflakes](https://pypi.python.org/pypi/pyflakes) and then run `make`
to check your Python syntax and then run the unit tests.