Comment on Show HN: Bubbles, a vanilla JavaScript web gameComments−vivzkestrel1yso what are those bubbles? divs with a border-radius of 50% that transform X and Y with random values? how is this implemented?−ehmorrisOP1yEverything is drawn directly to canvas including the score view:https://github.com/ehmorris/bubbles/blob/de0c6c8b40328df9fcf...https://github.com/ehmorris/bubbles/blob/main/scoreDisplay.j...
Comments
so what are those bubbles? divs with a border-radius of 50% that transform X and Y with random values? how is this implemented?
Everything is drawn directly to canvas including the score view:
https://github.com/ehmorris/bubbles/blob/de0c6c8b40328df9fcf...
https://github.com/ehmorris/bubbles/blob/main/scoreDisplay.j...