Skip to content

Instantly share code, notes, and snippets.

@oczki
oczki / circles.pde
Created December 16, 2021 17:08 — forked from anonymous/circles.pde
circles
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
if (p < 0.5)
return 0.5 * pow(2*p, g);
@oczki
oczki / netflix-parenthesis-text-removal.js
Last active June 7, 2020 11:33 — forked from BernieCr/netflix-hi-subs-removal.js
Netflix - remove hearing impaired captions from subtitles
(function() {
var targetNode = document.querySelector('.player-timedtext');
function callback(mutationsList) {
const e = document.querySelectorAll('.player-timedtext-text-container > *');
if (e) {
e.forEach(sub => {
const before = sub.innerHTML;
let after = before