Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.14 KB

README.md

File metadata and controls

9 lines (5 loc) · 1.14 KB

Circular Sleep

Visit Project: https://circularsleep.com

A project to calculate various times to wake up or fall asleep to align with your natural sleep cycles. By waking up at the end of one of these 90 minute cycles, you will have a better night's rest. This calculator assumes that it takes the average person 14 minutes to fall asleep, and this value is factored into the calculations.

This is my first time using Svelte, a front-end, component-based Javascript framework. For that matter, this is my first project using any front-end, component-based Javascript framework. I figured that it was about time I learn one of these Javascript frameworks, and Svelte seemed like the most intuitive one after watching a video by Fireship comparing several of them. If I didn't start learning one, I might've had to make my own -- and the world doesn't need yet another Javascript framework.

Thanks to @bitwitch on Medium for his article on creating a simple circular slider using trigonometry.