Skip to content

Instantly share code, notes, and snippets.

View torcado194's full-sized avatar
🔼

torcado torcado194

🔼
View GitHub Profile
@torcado194
torcado194 / cleanEdge-shadertoy.glsl
Last active April 29, 2024 12:39
cleanEdge, a pixel art upscaling algorithm for clean rotations
/*** MIT LICENSE
Copyright (c) 2022 torcado
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
@torcado194
torcado194 / TorcAddons-watch-json-file.js
Last active January 24, 2020 23:36
fix for TorcAddons-watch-json-file
// ==UserScript==
// @name TorcAddons-watch-json-file
// @namespace http://torcado.com
// @description provides a watch.json button, to spawn a watch.json file, and set it's contents automatically to that to be compatible with torcAddons-ManualUpdate
// @author torcado and J-Tech-Foundation
// @license MIT
// @icon http://torcado.com/torcAddons/icon.png
// @run-at document-start
// @grant none
// @include http*://glitch.com/edit/*
(function() {
function addCSS(css){
let head = document.getElementsByTagName('head')[0] || document.getElementsByTagName('html')[0];
if (!head) {
return;
}
let style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
@torcado194
torcado194 / glitchTheme.css
Created July 13, 2019 22:15
glitch.com custom theme
.CodeMirror-code .cm-variable-2 {
color: #9bf0f9;
}
.CodeMirror-code .cm-def {
color: #76f3b5;
}
.CodeMirror-code .cm-meta {
color: #9ea9ff;