marmakoide / python-gpu-plasma-demo

Minimal demonstration of how to use Python and Pyglet to render interactive graphics on a GPU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-gpu-plasma-demo

This is a minimalist demonstration on how to use Python and the Pyglet library to draw graphics purely on the GPU and display it. For this demonstration, the graphic displayed is a so-called plasma effect.

thumbnail

The demonstration is interactive, moving the mouse cursor over the display window will alterate the plasma.

Prerequisites

You will need

  • Python 2.7 or above
  • Pyglet 1.2 or above

How to run it

In a shell session, just enter the command

python plasma.py

Authors

  • Tristam Macdonald - shader.py module
  • Alexandre Devert - Initial work - marmakoide

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Minimal demonstration of how to use Python and Pyglet to render interactive graphics on a GPU

License:MIT License


Languages

Language:Python 86.9%Language:GLSL 13.1%