Skip to content

Instantly share code, notes, and snippets.

View ThaUnknown's full-sized avatar
💤

Cas_ ThaUnknown

💤
View GitHub Profile
@ThaUnknown
ThaUnknown / index.html
Created May 5, 2023 15:58
Desynchronized canvas rendering under video element when no DOM updates are happening
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Page Title</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<style>
canvas {
position: absolute;
@ThaUnknown
ThaUnknown / index.html
Created May 3, 2023 12:01
Offscreen canvas filter URL not working on workers
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Page Title</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='main.css'>
<script type="module">
const ctx1 = nofilter.getContext('2d')