https://github.com/srush/g9py
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/srush/g9py
- Owner: srush
- Created: 2022-01-23T23:04:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-09T22:55:34.000Z (over 2 years ago)
- Last Synced: 2025-01-28T05:41:20.935Z (over 1 year ago)
- Language: HTML
- Size: 76.2 KB
- Stars: 18
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# g9.py - Torch interactive graphics
A Torch toy in the browser. Demo at https://srush.github.io/g9py/
This is a shameless copy of [g9.js](https://github.com/bijection/g9), written in Python. This prototype shows off some of the cool things you can do with Pyodide for running Python demos in the browser.
## What is this?
* You now can run [Python in the browser](https://pyodide.org/en/stable/index.html).
* This lets us run MiniTorch (a pure Python torchlike with a numpy backend) in the browser.
* With Python autodifferentiation in the browser, its easy to build mathy toys.