Add GUI slider to set properties.
Request animation frame to speed up rendering.