number of balls can be adjusted and multiple balls rendered