Skip to content

Instantly share code, notes, and snippets.

View falldeaf's full-sized avatar

Tom Mardis falldeaf

View GitHub Profile
@falldeaf
falldeaf / keybase.md
Created January 16, 2020 17:40
My keybase proof

Keybase proof

I hereby claim:

  • I am falldeaf on github.
  • I am tmardis (https://keybase.io/tmardis) on keybase.
  • I have a public key ASCRdtSwqnRsGSCb0dN-zKy9aQpLcCed1uf-c2suP8dtlQo

To claim this, I am signing this object:

@falldeaf
falldeaf / shader
Last active October 17, 2019 11:16
Animated background effects shader
////////////////////////
// title: Animated background creater shader
// author: falldeaf (Tom Mardis)
// date: 10/16/2019
// description: Add an image and create scrolling or wavy effects, add a second image and oscilllate between them
////////////////////////
Shader "Custom/dual_image_fader"
{
Properties
//Adobe Queries
//Get Facebook referrals for month
function adobeQueries(month, qname) {
switch(qname) {
case "facebook":
return '{"reportDescription":{"reportSuiteID":"vrs_gannet9_stuartflglobal","date":"2017-' + month + '","metrics":[{"id":"pageviews"}],"elements":[{"id":"referringdomain","search":{"keywords":["facebook"]},}],}}';
case "twitter":
return '{"reportDescription":{"reportSuiteID":"vrs_gannet9_stuartflglobal","date":"2017-' + month + '","metrics":[{"id":"pageviews"}],"elements":[{"id":"referringdomain","search":{"keywords":["^t.co"]},}],}}';
case "desktopmobilepv":
@falldeaf
falldeaf / crtshader.shader
Created March 28, 2019 17:44
A CRT effect screen shader cobbled together from examples and ideas out on the web.
Shader "Custom/screen" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Glow ("Glow", Float) = 1
_Scanline_width ("Scanline width", Int) = 5
_Scanline_space ("Scanline space", Int) = 5
_Rolling_glitch_width ("Rolling glitch width", Float) = 5
_Rolling_glitch_speed ("Rolling glitch speed", Float) = 5
_Fuzzy_glitch_power ("Fuzzy glitch power", Float) = 1
@falldeaf
falldeaf / controls.html
Last active April 17, 2019 16:05
A Google App Script that takes a spreadsheet and creates C# code for a level editor
<!DOCTYPE html>
<html>
<style>
.buttons {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
}
.label {
@falldeaf
falldeaf / Blender - Dracula At Night Theme
Created October 24, 2018 20:29
Blender Theme based on the Dracula at Night theme from VSCode!
<bpy>
<Theme>
<user_interface>
<ThemeUserInterface menu_shadow_fac="0.5"
menu_shadow_width="12"
icon_file=""
icon_alpha="1"
widget_emboss="#ffffff05"
axis_x="#d265b1"
axis_y="#3bee5e"