https://github.com/jupyter-xeus/xcanvas
C++ back-end for ipycanvas
https://github.com/jupyter-xeus/xcanvas
Last synced: 3 months ago
JSON representation
C++ back-end for ipycanvas
- Host: GitHub
- URL: https://github.com/jupyter-xeus/xcanvas
- Owner: jupyter-xeus
- License: bsd-3-clause
- Created: 2021-08-30T15:20:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T12:15:22.000Z (about 1 year ago)
- Last Synced: 2025-03-26T21:38:12.391Z (3 months ago)
- Language: C++
- Size: 497 KB
- Stars: 6
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xcanvas: The HTML 2D Canvas API brought to xeus-cling
## Try it online
[](https://mybinder.org/v2/gh/martinRenou/xcanvas/HEAD)
## Documentation
There is currently no documentation for xcanvas, though you can look at the [ipycanvas documentation](https://ipycanvas.readthedocs.io) as xcanvas aims at providing the same API. You can also find an [example notebook on the repo](https://github.com/martinRenou/xcanvas/blob/master/examples/xcanvas.ipynb).
Note that xcanvas does not (yet) provide the full implemtation that ipycanvas provides.
## Installation
### From conda
```bash
conda install xeus-cling xcanvas -c conda-forge
```### From sources (using conda)
First install dependencies (here using conda):
```bash
conda install cmake xwidgets xeus xeus-cling ipycanvas -c conda-forge
```Then compile:
```bash
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=$CONDA_PREFIX ..
make install
```## Showcase
