canvas.style('position', 'fixed'); is not working

hi people,

i want to have a p5 sketch as fixed background on a html page. everything is working well, but the background canvas is not fixed and scrolls up with the content. I thought the line canvas.style('position', 'fixed'); can fix this but it doesnt work. does someone know what i do wrong?

thank you! you are great anyways

Tagged:

Answers

Sign In or Register to comment.