Skip to content

Latest commit

 

History

History
120 lines (84 loc) · 2.06 KB

index.rst

File metadata and controls

120 lines (84 loc) · 2.06 KB
hide-toc:

Graphics with NumPy

title image

In this tutorial you find NumPy exercises that create images. It is meant as a gentle introduction to NumPy. It assumes that you have made your first steps with Python already. To get the best out of it, put it into practice immediately:

paint things – create art – have fun!

Installation

To execute the examples, you need to install the libraries in :download:`requirements.txt`. Install them with:

pip install -r requirements.txt

If you are using the Anaconda distribution, you should have all necessary libraries already.


First Steps

.. toctree::
   :maxdepth: 1

   grayscale/README.rst
   rgb/README.rst
   random_blur/README.rst
   flags/README.rst
   repeat/README.rst


Elementary Geometry

.. toctree::
   :maxdepth: 1

   stars/README.rst
   lines/README.rst
   gradient/README.rst
   triangles/README.rst
   circles/README.rst
   spiral/README.rst
   mask/README.rst
   memegen/README.rst


Machine Learning

.. toctree::
   :maxdepth: 1

   kmeans/README.rst
   dtree/README.rst
   convolution/README.rst
   montecarlo/README.rst


Effects

.. toctree::
   :maxdepth: 1

   rotate/README.rst
   shadow/README.rst
   warhol/README.rst
   puzzle/README.rst
   contour/README.rst
   sobel/README.rst
   dragon_curve/README.rst
   mandelbrot/README.rst
   hexpanda/README.rst


Animations

.. toctree::
   :maxdepth: 1

   flower_movie/README.rst
   vortex/README.rst
   sand/README.rst
   starwars/README.rst
   blossom/README.rst
   thank_you/README.rst


License

© 2024 Dr. Kristian Rother ([email protected])

Usable under the conditions of the MIT License. See :download:`LICENSE` for details.

References

The Brandenburg Gate image is by Thomas Wolf, www.foto-tw.de / Wikimedia Commons / CC BY-SA 3.0