Skip to content

walley892/osc

Repository files navigation

Pulse-couple oscillator simulation

This application is a real-time (~250 FPS) simulation of pulse-coupled oscillators

Roughly speaking, a system of pulse-coupled oscillators is a graph (network) of individual oscillators where, when each oscillator reaches its peak state - it 'kicks' its neighbors.

The state of each oscillator in the simulation follows the differential equation f'(t) = a - b*f(t), where a and b are user-set parameters. When f(t)=1 for some oscillator, that oscillator's state is reset to zero, and all of its neighbors' states increase by kick_strength (also user specified).

Features

  • Real-time pulse-coupled oscialltor simulation accelerated by CUDA
  • User-specified parameters for the simulation
  • Intuitive UI built in OpenGL

Installation and use

  1. Install CUDA
  2. Install my custom game engine
git clone https://github.com/walley892/osc
cd osc
// possibly inside of a virtual environment if that's your thing
pip3 install -r requrements.txt
python3 osc-application.py

About

A pulse-coupled oscillator simulation written in CUDA

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages