2026-08-02 17:52:36 -04:00
2026-07-30 21:16:25 -04:00
2026-07-24 19:06:21 -04:00
2026-07-24 19:06:21 -04:00
2026-07-24 18:44:12 -04:00
2026-08-10 21:50:47 -04:00
2026-07-24 19:06:21 -04:00

Trigalarm

A habit-correcting alarm for heavy sleepers. Cannot be shut off until you solve for theta in a right triangle.

The Pitch

Simple

The app only has one page. You can only set one alarm. There is no snooze, there is no weekly schedule, and there is no way to disable the alarm (you'll always have one set - every day - like it or not).

Persistent

The alarm cannot be stopped until you solve for theta in a randomized right triangle. Even if you force-close the app, it will re-open itself until you complete the equation.

Why Trigonometry?

Because it requires the perfect amount of thought to activate your brain in the morning. If the app gave you a more typical math problem, you could just mindlessly punch it into a calculator. Trigonometry still requires a base amount of thought ("Do I need sine, cosine, or tangent?") before a calculator is of any use.

Some Neat Stuff

  • The vibration pattern is randomized. It derives the length of the three pulses from the angles in the generated triangle. Neat!
  • Some of the alarm scheduling code was taken from Gentle Wake. It seems trusted by the community, so... I stole it! The beauty of open source, no AI needed!
  • A custom font was made to satisfy the need for something that looks like LECO but is monospaced. The version I made contains only numbers, period, and colon, but if you want to build off of it, it's public and easy to modify!
S
Description
An alarm that cannot be shut off until you solve for theta in a right triangle.
Readme MIT 612 KiB
Languages
C 95.8%
Python 4.2%