Update renderer.js

Added size changing depending on probability