Skip to content

Commit

Permalink
Merge pull request #335 from martinRenou/update_links
Browse files Browse the repository at this point in the history
Update links
  • Loading branch information
martinRenou authored Jun 14, 2023
2 parents d9ee0a1 + eda0c8b commit d547c9d
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<p align="center"><img width="300" src="docs/images/ipycanvas_logo.svg"></p>
<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>

[![Documentation](http://readthedocs.org/projects/ipycanvas/badge/?version=latest)](https://ipycanvas.readthedocs.io/en/latest/?badge=latest)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/martinRenou/ipycanvas/stable?urlpath=lab%2Ftree%2Fexamples)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupyter-widgets-contrib/ipycanvas/stable?urlpath=lab%2Ftree%2Fexamples)
[![JupyterLite](https://jupyterlite.rtfd.io/en/latest/_static/badge-launch.svg)](https://ipycanvas.readthedocs.io/en/latest/lite/lab)
[![Downloads](https://pepy.tech/badge/ipycanvas)](https://pepy.tech/project/ipycanvas)
[![Join the chat at https://gitter.im/martinRenou/ipycanvas](https://badges.gitter.im/martinRenou/ipycanvas.svg)](https://gitter.im/martinRenou/ipycanvas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Join the chat at https://gitter.im/jupyter-widgets-contrib/ipycanvas](https://badges.gitter.im/jupyter-widgets-contrib/ipycanvas.svg)](https://gitter.im/jupyter-widgets-contrib/ipycanvas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

ipycanvas is a lightweight, fast and stable library exposing the [browser's Canvas API](https://developer.mozilla.org/en-US/docs/Web/API/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!
Expand All @@ -15,17 +15,17 @@ It allows you to draw simple primitives directly from Python like text, lines, p

You can try it online by clicking on this badge:

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/martinRenou/ipycanvas/stable?urlpath=lab%2Ftree%2Fexamples)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupyter-widgets-contrib/ipycanvas/stable?urlpath=lab%2Ftree%2Fexamples)

## 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](https://github.com/martinRenou/ipycanvas/discussions/new)!
If you have any question, or if you want to share what you do with ipycanvas, [start a new discussion on Github](https://github.com/jupyter-widgets-contrib/ipycanvas/discussions/new)!

Or join the gitter channel: [![Join the chat at https://gitter.im/martinRenou/ipycanvas](https://badges.gitter.im/martinRenou/ipycanvas.svg)](https://gitter.im/martinRenou/ipycanvas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Or join the gitter channel: [![Join the chat at https://gitter.im/jupyter-widgets-contrib/ipycanvas](https://badges.gitter.im/jupyter-widgets-contrib/ipycanvas.svg)](https://gitter.im/jupyter-widgets-contrib/ipycanvas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Installation

Expand Down Expand Up @@ -54,24 +54,24 @@ A development installation guide, can be found [here](https://ipycanvas.readthed

### Create John Conway's Game Of Life

![John Conway's Game Of Life](docs/images/ipycanvas_gameoflife.png)
![John Conway's Game Of Life](https://raw.githubusercontent.com/jupyter-widgets-contrib/ipycanvas/master/docs/images/ipycanvas_gameoflife.png)

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

![RoughCanvas](docs/images/ipycanvas_rough.png)
![RoughCanvas](https://raw.githubusercontent.com/jupyter-widgets-contrib/ipycanvas/master/docs/images/ipycanvas_rough.png)

### Draw Particles from IPython

![Particles](docs/images/ipycanvas_particles.png)
![Particles](https://raw.githubusercontent.com/jupyter-widgets-contrib/ipycanvas/master/docs/images/ipycanvas_particles.png)

### Custom Sprites

![Sprites](docs/images/ipycanvas_sprites.png)
![Sprites](https://raw.githubusercontent.com/jupyter-widgets-contrib/ipycanvas/master/docs/images/ipycanvas_sprites.png)

### Draw data directly from a NumPy array

![NumPy](docs/images/ipycanvas_binary.png)
![NumPy](https://raw.githubusercontent.com/jupyter-widgets-contrib/ipycanvas/master/docs/images/ipycanvas_binary.png)

### Create your own plotting library **fully** in Python

![Plotting](docs/images/ipycanvas_scatter.png)
![Plotting](https://raw.githubusercontent.com/jupyter-widgets-contrib/ipycanvas/master/docs/images/ipycanvas_scatter.png)
2 changes: 1 addition & 1 deletion docs/basic_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Optimizing drawings
By default, the Python ``Canvas`` object sends all the drawings commands like ``fill_rect``
and ``arc`` one by one through the widgets communication layer. This communication is limited
to 1000 commands/s and it can be extremely slow to send commands one after the other.
You can increase this limit via internal Jupyter `parameters <https://github.com/martinRenou/ipycanvas/issues/102>`_,
You can increase this limit via internal Jupyter `parameters <https://github.com/jupyter-widgets-contrib/ipycanvas/issues/102>`_,
however this is not recommended as it can lead to instability. Instead we provide a ``hold_canvas``
context manager which allows you to hold all the commands and send them in a single batch at the end. For
optimal performance you should try to use ``hold_canvas`` as much as possible.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
html_theme = "pydata_sphinx_theme"
htmlhelp_basename = "ipycanvasdoc"

html_theme_options = dict(github_url="https://github.com/martinRenou/ipycanvas")
html_theme_options = dict(github_url="https://github.com/jupyter-widgets-contrib/ipycanvas")

html_static_path = ["_static"]

Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Try it online
You can try ipycanvas, without the need of installing anything on your computer, using `mybinder <https://mybinder.org/>`_ by clicking on this badge:

.. image:: https://img.shields.io/badge/start-drawing!-F5A252.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFkAAABZCAMAAABi1XidAAAB8lBMVEX///9XmsrmZYH1olJXmsr1olJXmsrmZYH1olJXmsr1olJXmsrmZYH1olL1olJXmsr1olJXmsrmZYH1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olJXmsrmZYH1olL1olL0nFf1olJXmsrmZYH1olJXmsq8dZb1olJXmsrmZYH1olJXmspXmspXmsr1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olLeaIVXmsrmZYH1olL1olL1olJXmsrmZYH1olLna31Xmsr1olJXmsr1olJXmsrmZYH1olLqoVr1olJXmsr1olJXmsrmZYH1olL1olKkfaPobXvviGabgadXmsqThKuofKHmZ4Dobnr1olJXmsr1olJXmspXmsr1olJXmsrfZ4TuhWn1olL1olJXmsqBi7X1olJXmspZmslbmMhbmsdemsVfl8ZgmsNim8Jpk8F0m7R4m7F5nLB6jbh7jbiDirOEibOGnKaMhq+PnaCVg6qWg6qegKaff6WhnpKofKGtnomxeZy3noG6dZi+n3vCcpPDcpPGn3bLb4/Mb47UbIrVa4rYoGjdaIbeaIXhoWHmZYHobXvpcHjqdHXreHLroVrsfG/uhGnuh2bwj2Hxk17yl1vzmljzm1j0nlX1olL3AJXWAAAAbXRSTlMAEBAQHx8gICAuLjAwMDw9PUBAQEpQUFBXV1hgYGBkcHBwcXl8gICAgoiIkJCQlJicnJ2goKCmqK+wsLC4usDAwMjP0NDQ1NbW3Nzg4ODi5+3v8PDw8/T09PX29vb39/f5+fr7+/z8/Pz9/v7+zczCxgAABC5JREFUeAHN1ul3k0UUBvCb1CTVpmpaitAGSLSpSuKCLWpbTKNJFGlcSMAFF63iUmRccNG6gLbuxkXU66JAUef/9LSpmXnyLr3T5AO/rzl5z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Zg+I2fNZs/M3/f/Grl/XnyF1Gw3VKCez0PN5IUfFLqvgUN4C0qNqYs5YhPL+aVZYDE4IpUk57oSFnJm4FyCqqOE0jhY2SMyLFoo56zyo6becOS5UVDdj7Vih0zp+tcMhwRpBeLyqtIjlJKAIZSbI8SGSF3k0pA3mR5tHuwPFoa7N7reoq2bqCsAk1HqCu5uvI1n6JuRXI+S1Mco54YmYTwcn6Aeic+kssXi8XpXC4V3t7/ADuTNKaQJdScAAAAAElFTkSuQmCC
:target: https://mybinder.org/v2/gh/martinRenou/ipycanvas/stable?urlpath=lab%2Ftree%2Fexamples
:target: https://mybinder.org/v2/gh/jupyter-widgets-contrib/ipycanvas/stable?urlpath=lab%2Ftree%2Fexamples

Or you can run it directly in your browser using JupyterLite!!

Expand All @@ -22,7 +22,7 @@ Or you can run it directly in your browser using JupyterLite!!
Questions?
----------

If you have any question, or if you want to share what you do with ipycanvas, come `start a new discussion on Github <https://github.com/martinRenou/ipycanvas/discussions/new>`_!
If you have any question, or if you want to share what you do with ipycanvas, come `start a new discussion on Github <https://github.com/jupyter-widgets-contrib/ipycanvas/discussions/new>`_!

Index
-----
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ For a development installation (requires npm):

.. code:: bash
git clone https://github.com/martinRenou/ipycanvas.git
git clone https://github.com/jupyter-widgets-contrib/ipycanvas.git
cd ipycanvas
pip install -e .
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"dist/*.map",
"dist/*.LICENSE.txt"
],
"homepage": "https://github.com/martinRenou/ipycanvas",
"homepage": "https://github.com/jupyter-widgets-contrib/ipycanvas",
"bugs": {
"url": "https://github.com/martinRenou/ipycanvas/issues"
"url": "https://github.com/jupyter-widgets-contrib/ipycanvas/issues"
},
"license": "BSD-3-Clause",
"author": {
Expand All @@ -29,7 +29,7 @@
"types": "./lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/martinRenou/ipycanvas"
"url": "https://github.com/jupyter-widgets-contrib/ipycanvas"
},
"scripts": {
"build": "yarn run build:lib && yarn run build:nbextension && yarn run build:labextension",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ file = "LICENSE.txt"
[project.optional-dependencies]

[project.urls]
Homepage = "https://github.com/martinRenou/ipycanvas"
Homepage = "https://github.com/jupyter-widgets-contrib/ipycanvas"

[tool.hatch.build]
artifacts = [
Expand Down
4 changes: 2 additions & 2 deletions ui-tests/tests/notebooks/ipycanvas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -899,8 +899,8 @@
"\n",
"import urllib.request\n",
"\n",
"urllib.request.urlretrieve('https://github.com/martinRenou/ipycanvas/raw/master/examples/sprites/smoke_texture0.png', 'smoke_texture0.png')\n",
"urllib.request.urlretrieve('https://github.com/martinRenou/ipycanvas/raw/master/examples/sprites/smoke_texture1.png', 'smoke_texture1.png')\n",
"urllib.request.urlretrieve('https://github.com/jupyter-widgets-contrib/ipycanvas/raw/master/examples/sprites/smoke_texture0.png', 'smoke_texture0.png')\n",
"urllib.request.urlretrieve('https://github.com/jupyter-widgets-contrib/ipycanvas/raw/master/examples/sprites/smoke_texture1.png', 'smoke_texture1.png')\n",
"\n",
"sprite1 = Image.from_file('smoke_texture0.png')\n",
"sprite2 = Image.from_file('smoke_texture1.png')\n",
Expand Down

0 comments on commit d547c9d

Please sign in to comment.