Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rintcius/purescript-mathbox
Purescript bindings for MathBox
https://github.com/rintcius/purescript-mathbox
mathbox purescript
Last synced: about 1 month ago
JSON representation
Purescript bindings for MathBox
- Host: GitHub
- URL: https://github.com/rintcius/purescript-mathbox
- Owner: rintcius
- Created: 2016-12-18T21:55:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-02T08:48:33.000Z (about 4 years ago)
- Last Synced: 2024-11-27T13:05:29.050Z (about 2 months ago)
- Topics: mathbox, purescript
- Language: PureScript
- Homepage:
- Size: 959 KB
- Stars: 18
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# purescript-mathbox
[![Latest release](http://img.shields.io/github/release/rintcius/purescript-mathbox.svg)](https://github.com/rintcius/purescript-mathbox/releases)
[![Travis branch](https://img.shields.io/travis/rintcius/purescript-mathbox/master.svg)](https://travis-ci.org/rintcius/purescript-mathbox)## Description
`purescript-mathbox` contains purescript bindings for [MathBox](https://gitgud.io/unconed/mathbox).
In case you don't know MathBox yet:
> MathBox is a library for rendering presentation-quality math diagrams in a browser using WebGL.
> Built on top of Three.js and ShaderGraph, it provides a clean API to visualize mathematical
> relationships and animate them declaratively.## Try Mathbox
~~`purescript-mathbox` is available as a backend of try-purescript,
which means you can play online with it without having to install anything locally:
[try-mathbox](http://try.purescript.org/?backend=mathbox)~~ Not updated yet to new architecture of try-purescript.![](./doc/resources/try-mathbox.gif)
## Examples
To get started, a couple of examples have been ported from the MathBox repos.
A fairly minimal example is:
https://github.com/rintcius/purescript-mathbox/blob/master/test/Mathbox/Examples/Main.pursOther examples are in the same directory: https://github.com/rintcius/purescript-mathbox/blob/master/test/Mathbox/Examples
## Build purescript-mathbox
```
# install project dependencies
npm run install# build project and examples
npm run build-allopen examples/resources/*.html # in your favorite browser
```
## ContributingPlease feel free to file issues. However, note that I'll probably won't merge any PR's at the moment since the code in this lib is generated code (which is still private).