MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / blurring

Function blurring

assets/js/blurry_loading_interface.js:7–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5let int = setInterval(blurring, 50);
6
7function blurring(){
8 load++
9 if(load > 99){
10 clearInterval(int);
11
12 }
13 loadtext.innerHTML = `${load}%`
14 loadtext.style.opacity = `${1-load/100}`
15 bg.style.filter = `blur(${30-(load/100)*30}px)`
16}
17// This project is based on the starter page of any website which is a Blurry effect with a countdown from 0% to 100%.
18// The structure is made from blurry_loading_interface.html file.
19// To butify The project we use the blurry_loading_interface.css file.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected