kivy/examples/android/compass
Kristian Sloth Lauszus e658c65cef Fix animation transition around the unit circle in Android compass example
For example if the previous angle was 269 and the new angle is -84, then the current code would rotate the needle in a clockwise direction. This fix would add 360 to -84, so the new angle would be 276, which would result in the correct behaviour of the needle rotating anti-clockwise.
2018-05-21 16:22:16 +02:00
..
android.txt moved compass app from examples/demo to examples/android 2012-09-07 09:16:53 +02:00
compass.kv tabs to spaces in example kv files 2015-10-24 20:41:19 +03:00
main.py Fix animation transition around the unit circle in Android compass example 2018-05-21 16:22:16 +02:00
needle.png example: rework compass example to work with python-for-android, and remove all broken code. 2013-06-25 13:56:47 +02:00
rose.png example: rework compass example to work with python-for-android, and remove all broken code. 2013-06-25 13:56:47 +02:00