Demoscene is spending a lot of effort to make things as efficient as possible. Other programmers have other priorities. Clearly the performance is what it is because "running in a browser" was deemed non-negotiable (as it strengthens Google, and then the performance just had to be "good enough" (with Google's lead and market size).