Example Scripts
The following example scripts are included as part of the Shady package.
They can be run conventionally like any normal Python script.
Alternatively, you can explore them interactively piece-by-piece with
the demo
subcommand, like so:
python -m Shady demo showcase
From inside Python, this is equivalent to:
from Shady import RunShadyScript, PackagePath
RunShadyScript( PackagePath( 'examples/showcase.py' ) )
List of examples
An annotated version of the full list of examples can be obtained by typing:
python -m Shady list
The source code of the examples can be browsed below:
- examples/animated-textures.py
- examples/artifacts.py
- examples/capture-video.py
- examples/color-transformation.py
- examples/custom-functions.py
- examples/dithering.py
- examples/dots1.py
- examples/dots2.py
- examples/dots3.py
- examples/dots4.py
- examples/dynamic-range.py
- examples/dynamics1.py
- examples/dynamics2.py
- examples/events.py
- examples/fancy-hardware.py
- examples/foreign-stimulus.py
- examples/image-scaling.py
- examples/interactive-gamma.py
- examples/noise.py
- examples/precision.py
- examples/sharing.py
- examples/showcase.py
- examples/tearing.py
- examples/text.py
- examples/video.py
- examples/world.py