I was wondering if images with opacity 0 are getting rendered by your phone/ webbrowser. I have an app that creates lots of images rapidly and when I use transition and set my opacity at 0.5 it laggs and when I use opacity 0 it doesn't lagg. So i'm assuming that the images with opacity 0 aren't rendered at all.
javascript code:
function transitionImage(trans, x, y) { //trans is an image
image.style.transition = "transform 1000ms ease-in, opacity 500ms ease-in 500ms";
image.style.transform="translate("+x+"px, "+y+"px)";
image.style.opacity="0"; //or 0.5
}
Do I need to remove my image with opacity 0 after the transition or isn't it necessary?