Skip to content

Commit 9dbfb4a

Browse files
committed
tomato.py: adding header for launcher
1 parent 54e1abe commit 9dbfb4a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/tomato.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# ICON [[(-0.01, 10.0), (2.24, 9.81), (3.75, 9.44), (4.75, 9.07), (6.15, 8.34), (7.06, 7.74), (8.39, 6.6), (9.5, 5.36), (10.75, 3.41), (11.53, 1.42), (11.85, -0.05), (11.98, -1.31), (11.96, -2.9), (11.84, -4.02), (11.32, -6.07), (10.89, -7.15), (9.93, -8.8), (8.7, -10.29), (7.47, -11.42), (6.58, -12.08), (4.99, -12.96), (4.04, -13.34), (2.41, -13.78), (0.04, -14.0), (-0.01, -2.0), (-8.51, 6.5), (-7.0, 7.73), (-5.84, 8.47), (-4.65, 9.08), (-3.52, 9.48), (-2.22, 9.79), (-0.06, 10.0)], [(-0.01, 18.0), (-2.77, 17.82), (-5.22, 17.33), (-6.81, 16.84), (-9.0, 15.88), (-10.82, 14.83), (-12.37, 13.73), (-13.38, 12.88), (-14.8, 11.47), (-16.53, 9.28), (-17.71, 7.33), (-18.44, 5.84), (-18.93, 4.56), (-19.44, 2.82), (-19.69, 1.62), (-19.93, -0.24), (-19.98, -3.03), (-19.82, -4.82), (-19.36, -7.14), (-18.78, -8.99), (-18.18, -10.41), (-16.87, -12.77), (-15.61, -14.52), (-14.53, -15.77), (-13.03, -17.19), (-11.75, -18.19), (-9.49, -19.6), (-7.63, -20.48), (-5.31, -21.29), (-2.8, -21.81), (-1.17, -21.97), (0.56, -22.0), (2.17, -21.89), (4.17, -21.57), (5.78, -21.15), (6.98, -20.74), (8.54, -20.07), (10.61, -18.95), (12.5, -17.62), (14.56, -15.73), (15.71, -14.38), (16.82, -12.81), (18.11, -10.45), (18.75, -8.94), (19.3, -7.26), (19.84, -4.56), (19.98, -2.76), (19.98, -1.18), (19.8, 0.82), (19.39, 2.89), (18.67, 5.12), (17.97, 6.73), (16.56, 9.2), (15.45, 10.7), (13.58, 12.69), (11.88, 14.09), (10.45, 15.06), (9.16, 15.79), (6.7, 16.87), (5.01, 17.38), (2.25, 17.88), (0.04, 18.0)], [(-0.01, 14.0), (1.92, 13.89), (4.04, 13.53), (6.12, 12.86), (7.5, 12.21), (8.55, 11.61), (9.86, 10.67), (11.86, 8.81), (13.1, 7.28), (14.15, 5.61), (14.75, 4.36), (15.29, 2.88), (15.79, 0.68), (15.96, -0.91), (15.96, -3.16), (15.72, -5.08), (15.17, -7.27), (14.67, -8.56), (13.98, -9.93), (12.87, -11.61), (11.38, -13.32), (9.85, -14.68), (8.89, -15.38), (7.49, -16.22), (5.15, -17.22), (3.7, -17.61), (1.72, -17.92), (0.3, -18.0), (-1.89, -17.9), (-4.1, -17.52), (-5.31, -17.17), (-7.19, -16.38), (-8.13, -15.88), (-9.61, -14.88), (-10.93, -13.76), (-12.29, -12.34), (-13.3, -11.02), (-14.5, -8.96), (-15.22, -7.16), (-15.61, -5.71), (-15.89, -4.07), (-15.99, -1.35), (-15.76, 0.93), (-15.4, 2.54), (-14.53, 4.89), (-13.63, 6.52), (-12.25, 8.38), (-10.86, 9.82), (-9.67, 10.82), (-8.31, 11.75), (-6.16, 12.84), (-5.16, 13.21), (-2.83, 13.77), (-1.35, 13.95), (-0.06, 14.0)], [(-0.01, -2.0)]]
2+
# NAME Tomato Timer
3+
# DESC A pomodoro timer for your Presto
4+
15
import time
26
from picovector import ANTIALIAS_BEST, PicoVector, Polygon, Transform
37
from presto import Presto, Buzzer

0 commit comments

Comments
 (0)