This shadows example was written in Dart.
Below is an image running inside of Dartium and edited with Dart Editor. I wrote a document on how it works 2D shadows in Dart.
It sole purpose was to help me learn Dart. If you have an questions feel free to contact me: [email protected].
Cheers. かんぱい!