The YouTube chennal Coding Math demonstrates math through coding with JavaScript. This flask web application provides a simple framework to allow students to follow along with the coding exercises.
The diretories under src\static\js
correspond to sections in the channel, section for trigonemtry, physics etc. A section directory contains java script files that corrspond to the episodes as you follow along with the exercies, i.e. trigonometry\trig01.js
- Python 3.X
- git client
-
Clone the repostory to a directory:
git clone https://github.com/twje/coding_math.git .
-
Create a python virtual environment:
python -m venv venv
-
Activate python virtual environment:
venv\Scripts\activate.bat
-
Install dependancies:
pip install -r requirements.txt
-
Start web application:
cd src
python run.py
-
Test URL in browser:
http://127.0.0.1:4990/
. You will see a list of sections and links - clicktrig01.js
to run the javascript to display a trig curve.