let t = document.createElement('template');
t.innerHTML = '<svg height="0"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency=".01 .01" numOctaves="5"/></filter></svg>';
document.body.appendChild(t.content);
ctx.filter = 'url(#n)';
ctx.fillRect(0, 0, 1, 1);
-
-
-
Yeah, I know it can already be brought into canvas…I’m referring to this proposal https://github.com/fserb/canvas2D/blob/master/spec/filters.md …
- 1 more reply
New conversation -
-
-
Yes.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Simplex noise is the slightly newer hotness.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
That would be awesome for tiny demos/intros.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Yes and other filter like gaussian noise
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.