initial commit

This commit is contained in:
2025-10-09 14:37:45 +03:00
commit 0a605def17
24 changed files with 743 additions and 0 deletions

15
source/Hands/BatonHand.mc Normal file
View File

@ -0,0 +1,15 @@
import Toybox.Graphics;
import Toybox.Lang;
class BatonHand extends IHand {
function initialize(options as IHand.HandParams) {
IHand.initialize(options);
}
function drawHand(dc as Dc, start as Point2D, length as Float) as Void {
var angle = Math.toRadians(getAngle(null) - 90);
dc.setColor(Color, Color);
fillSuperellipse(dc, start, [Math.cos(angle), Math.sin(angle)], length, Width);
}
}