https://github.com/ccnmtl/3demos
Drew Youngren's 3D Calculus Visualizations
https://github.com/ccnmtl/3demos
hacktoberfest
Last synced: about 2 months ago
JSON representation
Drew Youngren's 3D Calculus Visualizations
- Host: GitHub
- URL: https://github.com/ccnmtl/3demos
- Owner: ccnmtl
- License: gpl-3.0
- Created: 2022-09-01T15:15:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T17:53:40.000Z (7 months ago)
- Last Synced: 2024-10-29T19:05:21.266Z (7 months ago)
- Topics: hacktoberfest
- Language: Svelte
- Homepage: https://3demos.ctl.columbia.edu/
- Size: 12.3 MB
- Stars: 4
- Watchers: 8
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 3Demos
3Demos is Drew Youngren's 3D Calculus Visualizations. Developed by Drew Youngren
and the Columbia University Center for Teaching and Learning.This project comprises of two main parts:
* Django back-end.
Django Channels server for mathplayground. Structure based on:
https://channels.readthedocs.io/en/latest/tutorial/index.html All
Django code is in the `mathplayground/` directory.
* Front-end using [Svelte](https://svelte.dev/) and
[three.js](https://threejs.org/). The main JavaScript code can be
found in `media/src/`.## Start-up steps:
Install [Redis](https://redis.io/) and start the redis service.
```
redis-server
```Start django server:
```
make runserver
```In order to get the django daphne application responding to WebSockets,
you will need to set up a proxy with nginx to forward and set certain headers.
See: https://channels.readthedocs.io/en/latest/deploying.html#nginx-supervisor-ubuntu### Svelte application
To make changes to the svelte application in `media/src/`, first install the
node dependencies with `npm install`. Then you can run the rollup build via
npm like this:
```
npm run dev
```Or, make a one-time production build of the applcation with `npm run build`.
Both of these commands will update the compiled JS at `media/mathplayground/build/`.