Skip to content

Reactive multidimensional math & data visualization for the web.

License

Notifications You must be signed in to change notification settings

abdomadi/grafar

 
 

Repository files navigation

Grafar 4

Grafar is a javascript library for reactive, 3D mathematical visualization (data visualization capabilities coming sometime). Built on top of WebGL (via Three.js). If you've ever struggled with displaying lots of stuff with conventional charting libraries (such as d3), grafar would be good for you. Another great features include:

  • Reactive data flow to easily build dynamic graphs.
  • Full, beautiful 3D.
  • High-level building blocks for math: with a single line of code you can create sets, ranges and sequences, and apply continuous maps to these. Currently limited to basic math primitives, fun stuff like statistics, DSP, and coming someday!
  • Advanced topology detection: get a surface by mapping a [0, 1] x [0, 1] or a set of curves from [0, 1] x {0, 1, 2}.
  • Ability to plug in any low-level buffer transform to do some crazy stuff.

MIT License

Installation

Use yarn add grafar or npm install grafar.

Links

Building from source

  1. Checkout latest stable release: git clone [email protected]:thoughtspile/Grafar.git.
  2. Install dependencies with npm install
  3. Have fun with my poor selection of npm scripts (npm run <script name>), ignore the warnings:
  • dev: build into /build/grafar.js and watch. No server.
  • build: build into /build/grafar.js. All the methods produce a UMD module.
  1. No automatic tests yet.

About

Reactive multidimensional math & data visualization for the web.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.4%
  • HTML 27.7%
  • JavaScript 14.9%