bubbles: added

This commit is contained in:
Sheldan
2025-08-08 22:01:36 +02:00
parent eb7e98b384
commit 0de74e11a3
10 changed files with 1094 additions and 0 deletions

View File

@@ -142,3 +142,7 @@ export function angleBetweenTwoVectors(vectorA, vectorB){
export function dotProduct(vector1, vector2) {
return vector1.x * vector2.x + vector1.y * vector2.y;
}
export function randomInteger(n){
return (Math.random() * n) << 0
}