Demo Sim & Viz

We wrote this script to show how async functions can modeling and visualizing flows in a system. github

Script logic creates nodes that run infinite loops trading money for stuff.

As nodes trade with each other they also report to a function that reports state and accumulated flows.

We simulate a micro economy with producer-consumer relationships.

http://simnet.ward.asia.wiki.org/assets/pages/demo-sim--viz/demo.html HEIGHT 500