fixed circle rendering
removed testing code
added triangle rendering
changed slider input to type=number