sheep simulation based on three.js