# womb3-simplex.mjs The library for creating creepy sticky background ## Example ```html ``` ```js import("/js/modules/gallery.mjs").then((module) => { // Initializing the instance const womb = new module.womb(document.getElementById("wrap")); womb.init(); womb.generate(); // Initializing the process registers let offset = 0; let speed = 0.01; // Starting the process setInterval(function() { womb.dump(); womb.generate(offset += speed); }, 30); // Initializing the resizing event processor window.addEventListener('resize', function(e) { womb.init(); womb.dump(); womb.generate(offset += speed); }, true); }); ``` ## Demonstration ### [CodePen](https://codepen.io/mirzaev-sexy/pen/BaxQjYo)
![Demonstration gid](assets/1.gif)