ComputationΒΆ

Glumpy can also be used to perform general General-Purpose Computation on Graphics Hardware (GPGPU) without using Cuda or OpenGL. However, things can become quite complex when you have to deal with several buffers.

  • game-of-life.py
    This examples show a the game of life computed directly on the GPU an is very fast. The example takes care of putting a slider gun in the bottom left corner such as to ensure to always have some computation.
  • grayscott.py
    Grayscott reaction-diffusion systems gives really nice different outputs depending on the parameters. Make sure to test them all! Inspired from Joakim Linde work.
  • smoke.py
    This is smoke simulation ported from the very nice work of Philip Rideout (The Little Grasshoper).