Skip to content

Latest commit

 

History

History
126 lines (88 loc) · 2.26 KB

index.rst

File metadata and controls

126 lines (88 loc) · 2.26 KB

Graphics with NumPy

title image

Introduction

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
   flower_movie/README.rst
   vortex/README.rst
   sand/README.rst
   starwars/README.rst
   blossom/README.rst


More Generative Artists


License

© 2023 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 Teaching Programming