https://github.com/htm-community/htm-school-viz
Visualizations supporting HTM School
https://github.com/htm-community/htm-school-viz
htm htm-school visualizations
Last synced: 7 months ago
JSON representation
Visualizations supporting HTM School
- Host: GitHub
- URL: https://github.com/htm-community/htm-school-viz
- Owner: htm-community
- License: mit
- Created: 2016-03-29T06:02:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-27T15:55:41.000Z (almost 7 years ago)
- Last Synced: 2024-11-29T11:37:20.583Z (about 1 year ago)
- Topics: htm, htm-school, visualizations
- Language: JavaScript
- Homepage: https://www.youtube.com/playlist?list=PL3yXMgtrZmDqhsFQzwUC9V8MeeVOQ7eZ9
- Size: 1.93 MB
- Stars: 61
- Watchers: 11
- Forks: 28
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> ## Work In Progress!
> This project is under very heavy development and will change drastically with no warning.
# HTM School Visualizations
These are supporting visualizations for the [HTM School](https://www.youtube.com/playlist?list=PL3yXMgtrZmDqhsFQzwUC9V8MeeVOQ7eZ9) educational video series.
[Here is a guide to running the complete HTM School Visualization Suite](https://discourse.numenta.org/t/how-to-run-htm-school-visualizations/2346).
## Stack
This is a web application with a Nodejs server and a JavaScript frontend.
### Server
- [node.js](http://nodejs.org/) (for serving files and HTTP Proxy to [NuPIC History Server](https://github.com/htm-community/nupic-history-server))
### Client
- Lodash
- Bootstrap
- jQuery UI
- Handlebars
- Moment
## Dependencies
- [NuPIC History Server](https://github.com/htm-community/nupic-history-server) - install & run
- [Cell-viz](https://github.com/numenta/cell-viz/) 1.1.2 - install & generate the static content with `webpack`
#### Generate static content from cell-viz
There are 2 options:
- Permanent link: `ln -s static/js/third/dyson-bundle.js YOUR_PATH/cell-viz/out/dyson.js` This is a permanent solution, just need to update the webpack in `cell-viz` later on.
- Generate the file: go to `cd YOUR_PATH/cell-viz/`, generate: `webpack --output-path OTHER_PATH/htm-school-viz/static/js/third --output-filename dyson-bundle.js`
## Install
Install npm requirements:
npm install
## Run
> **REQUIREMENT**: This server depends on the [nupic-history-server](https://github.com/htm-community/nupic-history-server) 0.0.1 running on PORT 8080. You must have that server running for any spatial pooler visualizations to work (ep. 7+).
Now start this server on any port you like:
npm start 8001
View on .
## Episodes
Notes about the episodes.
- Ep. 10, ep. 11: need to generate the `webpack` static content from `cell-viz`
- Ep. 10: You appear too close to the scene, press `s` to zoom-out. Currently works only in Chrome/Chromium browsers