Skip to content

Commit

Permalink
switch to furo theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristian Rother committed Nov 1, 2024
1 parent 691832a commit 85dd74a
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 88 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Kristian Rother
Copyright (c) 2024 Kristian Rother

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
73 changes: 36 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,65 +30,64 @@ Next, try the examples and challenges.

| Example | Topic |
|-----------|--------|
| [Creating Images](grayscale/) | Create a grayscale image |
| [Color](rgb/) | Create a RGB image |
| [Random Blur](random_blur/) | Create random pixels |
| [Flags](flags/) | Slicing |
| [Repeat](repeat/) | Repeating tiles |
| [Creating Images](grayscale/README.rst) | Create a grayscale image |
| [Color](rgb/README.rst) | Create a RGB image |
| [Random Blur](random_blur/README.rst) | Create random pixels |
| [Flags](flags/README.rst) | Slicing |
| [Repeat](repeat/README.rst) | Repeating tiles |


## Elementary Geometry

| Example | Topic |
|-----------|--------|
| [Stars](stars/) | Indexing |
| [Lines](lines/) | Arithmetics |
| [Gradient](gradient/) | Linear space |
| [Triangles](triangles/) | Matrix operations |
| [Circles](circles/) | Euclidean Distances |
| [Mask](mask/) | Indexing |
| [Meme Generator](memegen/) | Adding text with Pillow |
| [Stars](stars/README.rst) | Indexing |
| [Lines](lines/README.rst) | Arithmetics |
| [Gradient](gradient/README.rst) | Linear space |
| [Triangles](triangles/README.rst) | Matrix operations |
| [Circles](circles/README.rst) | Euclidean Distances |
| [Mask](mask/README.rst) | Indexing |
| [Meme Generator](memegen/README.rst) | Adding text with Pillow |

## Machine Learning

| Example | Topic |
|-----------|--------|
| [K-Means](kmeans/) | Clustering |
| [Decision Tree](dtree/) | Color prediction |
| [Convolution](convolution/) | CNN kernel |
| [Monte Carlo](montecarlo/) | Sampling |
| [K-Means](kmeans/README.rst) | Clustering |
| [Decision Tree](dtree/README.rst) | Color prediction |
| [Convolution](convolution/README.rst) | CNN kernel |
| [Monte Carlo](montecarlo/README.rst) | Sampling |

## Effects

| Example | Topic |
|-----------|--------|
| [Rotation](rotate/) | Rotation figure |
| [Shadow](shadow/) | shadow using a mask |
| [Warhol](warhol/) | Color channels |
| [Puzzle](puzzle/) | vstack and hstack |
| [Contour Lines](contour/) | Gaussian Mixture |
| [Edge Detection](sobel/) | Sobel Operator |
| [Dragon Curve](dragon_curve/) | Recursive graphics |
| [Mandelbrot](mandelbrot/) | Recursive graphics |
| [Hexpanda](hexpanda/) | Hexbin plot |
| [Flower Assembly](flower_movie/) | Animation |
| [Vortex](vortex/) | Animation |
| [Sand blows away](sand/) | Animation |
| [Star Wars Titles](starwars/) | Animation |
| [Rotation](rotate/README.rst) | Rotation figure |
| [Shadow](shadow/README.rst) | shadow using a mask |
| [Warhol](warhol/README.rst) | Color channels |
| [Puzzle](puzzle/README.rst) | vstack and hstack |
| [Contour Lines](contour/README.rst) | Gaussian Mixture |
| [Edge Detection](sobel/README.rst) | Sobel Operator |
| [Dragon Curve](dragon_curve/README.rst) | Recursive graphics |
| [Mandelbrot](mandelbrot/README.rst) | Recursive graphics |
| [Hexpanda](hexpanda/README.rst) | Hexbin plot |

## Animations

----

## More Generative Artists

* [Beetlesbot by Bleeptrack](https://beetles.bleeptrack.de/)
* [Flowerbot by Bleeptrack](https://blptrck.uber.space/flower/)
* [GalaxyKate](http://galaxykate.com/)
| Example | Topic |
|-----------|--------|
| [Flower Assembly](flower_movie/README.rst) | puzzle |
| [Vortex](vortex/README.rst) | rotating parts |
| [Sand blows away](sand/README.rst) | moving particles |
| [Star Wars Titles](starwars/README.rst) | text moving in 3D |
| [Infinity Blossom](blossom/README.rst) | depth illusion |
| [Thank You](thank_you/README.rst) | scripted assembly |

----

## Contact

(c) 2019 Dr. Kristian Rother (`[email protected]`)
(c) 2024 Dr. Kristian Rother (`[email protected]`)

Distributed under the conditions of the MIT License. See `LICENSE` for details.

Expand Down
7 changes: 7 additions & 0 deletions _static/academis.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

body {
margin-top: 250px;
margin-bottom: 250px;
background-image: url("academis_header.png");
background-repeat: no-repeat;
}
Binary file added _static/academis_header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/academis_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 14 additions & 20 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'NumPy Graphics'
copyright = '2023, Kristian Rother'
copyright = '2024, Kristian Rother'
author = 'Kristian Rother'
release = '1.0'
html_title = f"{project}"


# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand All @@ -21,31 +23,23 @@
'myst_parser',
]

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = ['experimental', '_build', 'Thumbs.db', '.DS_Store']

language = 'ls'
language = 'en'

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'academis_sphinx_theme'
html_theme_path = ['themes']
html_theme = 'furo'
html_static_path = ['_static']
#html_logo = "_static/banner_wide.svg"
html_logo = "_static/academis_logo.png"
html_favicon = "_static/favicon.ico"

html_sidebars = {
'**': [
'about.html',
'localtoc.html',
'searchbox.html',
]
}
html_css_files = [
"academis.css",
]
html_theme_options = {
'logo': 'academis.png',
'github_user': 'krother',
'github_repo': 'generative_art',
'show_relbar_top' : True,
'show_relbar_bottom' : True,
}
"source_repository": "https://github.com/krother/generative_art",
"source_branch": "main",
"source_directory": "",
}
3 changes: 2 additions & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ sphinx
sphinx-design
sphinx-copybutton
myst-parser
git+https://github.com/krother/academis_sphinx_theme.git
furo
#git+https://github.com/krother/academis_sphinx_theme.git
51 changes: 22 additions & 29 deletions index.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
:hide-toc:

Graphics with NumPy
===================


.. figure:: images/title.png
:alt: title image

.. topic:: 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:

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!**

**paint things – create art – have fun!**

----

Installation
------------
Expand Down Expand Up @@ -90,38 +88,33 @@ Effects
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
logo/README.rst

----

More Generative Artists
-----------------------

- `Beetlesbot by Bleeptrack <https://beetles.bleeptrack.de/>`__
- `Flowerbot by Bleeptrack <https://blptrck.uber.space/flower/>`__
- `GalaxyKate <http://galaxykate.com/>`__
thank_you/README.rst

----

.. topic:: License

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

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

----

References
----------

`The Brandenburg Gate
image <https://commons.wikimedia.org/wiki/File:Brandenburger_Tor_abends.jpg>`__
is by Thomas Wolf, www.foto-tw.de / Wikimedia Commons / CC BY-SA 3.0
Teaching Programming
.. topic:: References

`The Brandenburg Gate
image <https://commons.wikimedia.org/wiki/File:Brandenburger_Tor_abends.jpg>`__
is by Thomas Wolf, www.foto-tw.de / Wikimedia Commons / CC BY-SA 3.0

0 comments on commit 85dd74a

Please sign in to comment.