Difference between revisions of "Template:TecCEM/BubblesTemplate"

Line 14: Line 14:
 
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 = 20*speed_percentage/100;
 
div.style.width = size_px.toString() + "px";
 
div.style.width = size_px.toString() + "px";
 
div.style.height = size_px.toString() + "px";
 
div.style.height = size_px.toString() + "px";

Revision as of 14:40, 7 October 2021