OpenPV is a website to analyze the potential of PV installations for electricity production on your building. It's based on openly available 3D building data and does a shading simulation in the browser using WebGL: https://openpv.de
We are right now also open sourcing our shading simulation code of WebGL as an npm package, check out https://github.com/open-pv/simshady if that is interesting for you.