Click the green flag and watch. Adjust the slider if you like.
Inspired by @-_staray_-'s "2 Shading techniques" ... https://scratch.mit.edu/projects/517190546/ ... which was inspired by @Brontosplachna's "Just shading" ... https://scratch.mit.edu/projects/516808756 ... which I remixed here: https://scratch.mit.edu/projects/516911228/