Line 71: | Line 71: | ||
− | function generate_bubble(size_px, left, speed_percentage){ | + | /*function generate_bubble(size_px, left, speed_percentage){ |
var div = document.createElement("div"); | var div = document.createElement("div"); | ||
var animTime = 10*speed_percentage/100; | var animTime = 10*speed_percentage/100; | ||
Line 83: | Line 83: | ||
div.style.animationName = "rise_up"; | div.style.animationName = "rise_up"; | ||
div.style.animationIterationCount = "infinite"; | div.style.animationIterationCount = "infinite"; | ||
− | + | document.getElementsByTagName('body')[0].appendChild(div); | |
− | + | ||
} | } | ||
Line 90: | Line 89: | ||
console.log("random number func instantiated"); | console.log("random number func instantiated"); | ||
return Math.floor(Math.random() * (max - min) + min); | return Math.floor(Math.random() * (max - min) + min); | ||
− | } | + | }*/ |
function person_data(name, description, i){ | function person_data(name, description, i){ |
Revision as of 21:23, 4 October 2021