Toot

Written by CFDS on 2024-12-13 at 10:54

This strategy copies the canvas into a buffer after the draw call, and draws the buffer into the canvas at the beginning of the draw call. The buffer is drawn with 99% alpha, which results in a smooth fade out.. But only in Firefox!

Chrome and Safari still exhibit the ugly gray trails..

I thought of modifying the canvas' imageData to achieve a smooth fade, but my fps is tanking just thinking about it 😅

=> More informations about this toot | View the thread | More toots from CFDS@vis.social

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113645143962026513
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
221.711512 milliseconds
Gemini-to-HTML Time
0.362283 milliseconds

This content has been proxied by September (ba2dc).