SkillAgentSearch skills...

Ipycanvas

Interactive Canvas in Jupyter

Install / Use

/learn @jupyter-widgets-contrib/Ipycanvas
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"><img width="300" src="https://raw.githubusercontent.com/jupyter-widgets-contrib/ipycanvas/master/docs/images/ipycanvas_logo.svg"></p> <h1 align="center">ipycanvas</h1> <h2 align="center"> Interactive Canvas in Jupyter </h1>

notebook link Documentation Binder JupyterLite Downloads Join the chat at https://gitter.im/jupyter-widgets-contrib/ipycanvas

ipycanvas is a lightweight, fast and stable library exposing the browser's Canvas API to IPython. It allows you to draw simple primitives directly from Python like text, lines, polygons, arcs, images etc. This simple toolset allows you to draw literally anything!

Try it online!

Try it online with notebook.link by clicking on this badge:

notebook link.

Documentation

You can read the documentation following this link: https://ipycanvas.readthedocs.io

Questions?

If you have any question, or if you want to share what you do with ipycanvas, start a new discussion on Github!

Or join the gitter channel: Join the chat at https://gitter.im/jupyter-widgets-contrib/ipycanvas

Installation

You can install using pip:

pip install ipycanvas orjson

Or using conda:

conda install -c conda-forge ipycanvas

And if you use jupyterlab <= 2:

conda install -c conda-forge yarn
jupyter labextension install @jupyter-widgets/jupyterlab-manager ipycanvas

A development installation guide, can be found here

Examples

Create John Conway's Game Of Life

John Conway's Game Of Life

Give a "hand-drawn" style to your drawings using the RoughCanvas

RoughCanvas

Draw Particles from IPython

Particles

Custom Sprites

Sprites

Draw data directly from a NumPy array

NumPy

Create your own plotting library fully in Python

Plotting

View on GitHub
GitHub Stars712
CategoryDevelopment
Updated18d ago
Forks63

Languages

Python

Security Score

100/100

Audited on Mar 2, 2026

No findings