Skip to content

PeteRichardson/follow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Follow.py

Simple feedback control sample in python: Simulation of animals chasing each other around the curses window.

Movement is randomized using Perlin noise algorithm.

Different animal types have different movements: Follower, Escaper, etc Follower uses a PI feedback loop

image

To Do:

  • Convert this to SimPy?
  • Read keyboard for speedup, pause, etc
  • Add fixed entities (e.g. walls, plants) and don't allow two things to exist in the same location.

About

Simple feedback control sample in python. Implements a hunter following prey around the screen (in curses). Hunter uses a PI feedback loop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages