这是indexloc提供的服务,不要输入任何密码
Skip to content

doppioslash/purescript-mathbox

Repository files navigation

purescript-mathbox

Latest release Travis branch

Description

purescript-mathbox contains purescript bindings for 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.

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.purs

Other 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-all

open examples/resources/*.html   # in your favorite browser

About

Purescript bindings for MathBox

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PureScript 97.2%
  • JavaScript 2.6%
  • Shell 0.2%