modified: index.html
new file: js/art.js new file: js/hdr.js new file: js/hearts.js new file: js/helpers.js new file: js/particles.js new file: js/qlpycon.js new file: js/qlpyconbanner.js new file: js/snek.js new file: js/sparks.js new file: js/stars.js modified: slamp.html modified: style.css
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
var pc = document.getElementById('particles');
|
||||
var pctx = pc.getContext('2d');
|
||||
|
||||
function resizeParticlesCanvas() {
|
||||
pc.width = window.innerWidth;
|
||||
pc.height = window.innerHeight;
|
||||
}
|
||||
resizeParticlesCanvas();
|
||||
window.addEventListener('resize', resizeParticlesCanvas);
|
||||
Reference in New Issue
Block a user