remake of sphere.html