3 ms·
so what are those bubbles? divs with a border-radius of 50% that transform X and Y with random values? how is this implemented?
by vivzkestrel 2y ago
so what are those bubbles? divs with a border-radius of 50% that transform X and Y with random values? how is this implemented?
- ehmorris 2y agoEverything is drawn directly to canvas including the score view: https://github.com/ehmorris/bubbles/blob/de0c6c8b40328df9fcfd1fb401373060fc601eb2/ball.js#L181 https://github.com/ehmorris/bubbles/blob/de0c6c8b40328df9fcf... https://github.com/ehmorris/bubbles/blob/main/scoreDisplay.js https://github.com/ehmorris/bubbles/blob/main/scoreDisplay.j...