malminhas / jupyter-canvas

Experiments with Jupyter canvas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jupyter-canvas

This repository contains some experiments and notes on canvas drawing within JupyterLab.

  • solar-system playbook A nice Python coding post here describes a really neat little implementation of a solar system simulation built from first principles. The system described works in standalone mode using matplotlib as a canvas. This notebook tries to interleave an explanatoin with a version of the code that runs as a basic animation using a juptyer-matplotlib canvas class. The implementation opens the possibility of implementations targetting other environments. Note that %matplotlib widget (aka ipympl or interactive widget) support doesn't seem to be working properly in the local setup so this notebook is leveraging %matplotlib inline support via a JupyterMatplotlibCanvas which is not interactive.
  • ipycanvas playbook contains some simple code examples leveraging ipycanvas which is an interactive widget built on top of ipympl. It can be leveraged along with other interactive widgets such as Button. It doesn't appear to support 3d at the moment.

About

Experiments with Jupyter canvas


Languages

Language:Jupyter Notebook 100.0%