When the example webpage boots there is a timing bug where the rainbow can render after a resize and cause an issue.
Correct (guess):
c++ resize 400
c++ draw rainbow
js draw rainbow
c++ resize 10
c++ draw ray
js draw ray
Incorrect (guess):
c++ resize 400
c++ draw rainbow
c++ resize 10
js draw rainbow


When the example webpage boots there is a timing bug where the rainbow can render after a resize and cause an issue.
Correct (guess):
c++ resize 400
c++ draw rainbow
js draw rainbow
c++ resize 10
c++ draw ray
js draw ray
Incorrect (guess):
c++ resize 400
c++ draw rainbow
c++ resize 10
js draw rainbow