The Beauty of Sinus And Cosinus: Hypotrochoid Curves as a Web App
summary
A Jupyter notebook implements hypotrochoid equations (x and y as linear combinations of cos θ and sin θ) controlled by three parameters R, r, d and plotted live; interactivity uses ipywidgets (radio buttons, sliders, a Plot button), the notebook is rendered as a no-code web UI with voila, and deployment uses Binder which runs the notebook server-side. The demo works locally and is shareable worldwide, though Binder can hit resource limits and persistent user storage for saved images is not yet solved.
AI-written summary · about
chapters (11)
- 0:00Introduction and welcome
- 1:14What are hypotrochoid curves
- 4:52Math behind the curves
- 6:18From notebook to web app
- 7:00Live demo of the web app
- 8:24Behind the scenes of the notebook
- 11:58Adding interactivity with widgets
- 15:16Turning notebooks into apps with Voila
- 18:52Sharing apps with Binder
- 22:09Summary and wrap-up
- 25:21Q&A session
