MCPcopy
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / update

Method update

assets/js/MouseTrails.js:90–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 ctx.fill();
89 }
90 update() {
91 if (this.size > 0) {
92 let s = this.size - 0.3;
93 this.size = (s <= 0) ? 0 : s;
94 }
95 }
96}
97
98window.addEventListener("DOMContentLoaded", init);

Callers 15

initFunction · 0.45
animateFunction · 0.45
_initPropertiesFunction · 0.45
physics-matter.jsFile · 0.45
mainFunction · 0.45
scatter_chart.jsFile · 0.45
worldclock.jsFile · 0.45
animateFunction · 0.45
mainFunction · 0.45
animateFunction · 0.45
dgFunction · 0.45
egFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected