Such a cool technique! Great post.
I noticed you're drawing a lot of transparent shadow pixels though, they're easily gotten rid of via something like:
Which might speed up rendering a bit (depending on the how many transparent pixels there are and if there are mysterious render optimisations in play).
Yes, drawing the transparent box-shadows aren't necessary, so that's a great improvement! Thanks for sharing. :D
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.