We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi. I'm trying to adjust the alpha channel for images loaded using loadImage(). However, when I do so, FPS drops from 60FPS to 3FPS with just 4 images on screen.
Code I'm using is approximately: var path = "assets/video_placeholder.jpg" var imgHandler = loadImage(path); tint(255, 126); image(imgHandler, 200, 200, 450, 450);
Is this expected? Other than using DOM to load images and applying CSS to control opacity, is there any better way to give transparency to images?