descartes.js

0.1.0 • Public • Published
Descartes' logo

Descartes

A JS alternative to matplotlib, made for TheoremJS

Getting Started

Make sure you have Node v8 or higher installed on your computer.

Install the required programs

OS Command
OS X Using Homebrew:
brew install pkg-config cairo pango libpng jpeg giflib

Using MacPorts:
port install pkgconfig cairo pango libpng jpeg giflib
Ubuntu sudo apt-get install libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++
Fedora sudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel
Solaris pkgin install cairo pango pkg-config xproto renderproto kbproto xextproto
Windows Instructions node-canvas' our wiki

Mac OS X v10.11+: If you have recently updated to Mac OS X v10.11+ and are experiencing trouble when compiling, run the following command: xcode-select --install. Read more about the problem on Stack Overflow.

Install Descartes

To install Descartes on your machine, you'll need to type the following command in a terminal.

$ [sudo] npm i descartes.js

Then open your favorite code editor:

const d = require("descartes.js");
/* Start coding here */

Docs

See the wiki.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Arthur Guiot - Initial work - @arguiot

Also look at the list of contributors who participated in this project. If you don't code but you have great ideas, don't hesitate to write your idea in the issue part. If your idea is accepted, I will add you to this list 😊.

License

This project is licensed under the MIT License - see the

file for details

Copyright © 2017 Arthur Guiot All Rights Reserved.

Package Sidebar

Install

npm i descartes.js

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

3.23 MB

Total Files

26

Last publish

Collaborators

  • arguiot