Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1004 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 1004 Bytes

xcanvas: The HTML 2D Canvas API brought to xeus-cling

Try it online

Binder

Documentation

There is currently no documentation for xcanvas, though you can look at the ipycanvas documentation as xcanvas aims at providing the same API. You can also find an example notebook on the repo.

Note that xcanvas does not (yet) provide the full implemtation that ipycanvas provides.

Installation

From conda

conda install xeus-cling xcanvas -c conda-forge

From sources (using conda)

First install dependencies (here using conda):

conda install cmake xwidgets xeus xeus-cling ipycanvas -c conda-forge

Then compile:

mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=$CONDA_PREFIX ..
make install

Showcase

xcanvas example