Chat GPT Premultiplied alpha blending function for transparency https://chat.openai.com/share/0f8ec0ea-6cd7-46cc-8cfd-d8866629a01d.