ScratchData LogoScratchData
Back to Wes64test's profile

Sphere shading

WEWes64test•Created January 20, 2015
Sphere shading
46
31
892 views
View on Scratch

Instructions

Click green flag to render the sphere again.

Description

Draws a sphere and shades with mathematical accuracy. The shading is determined by finding the outward normal vector of the sphere's surface and comparing the angle of this normal vector with the light-source vector.

Project Details

Project ID44151632
CreatedJanuary 20, 2015
Last ModifiedJanuary 21, 2015
SharedJanuary 21, 2015
Visibilityvisible
CommentsAllowed