You might enjoy (or rather not): - https://stackoverflow.com/questions/3136686/#10526117 - https://sourceforge.net/projects/chaos-pp/ How generic you intend to make it?