moved chaos game code to sierp.js