Anyone know how to make a transparent background??

Does anyone know how to make a transparent background? I'm trying to use HTML/CSS to make my background a full screen image, but when I do that, my canvas starts drawing MS paint style... I want to know how to get rid of that by making the background transparent.

Or maybe a better way to get an image in p5js to be a fullscreen background without scaling the width? I tried using:

image(img, 0, 0);
img.resize(0, height);

but for some reason this function gives me errors.

Answers

Sign In or Register to comment.