Skip to content

Instantly share code, notes, and snippets.

View 01010111's full-sized avatar
πŸ‘½
πŸ•Ή

Will Blanton 01010111

πŸ‘½
πŸ•Ή
View GitHub Profile
@AustinEast
AustinEast / Outline.hx
Last active January 2, 2023 09:41
HaxeFlixel Pixel-Perfect Outline Shader
import flixel.system.FlxAssets.FlxShader;
import flixel.util.FlxColor;
class Outline extends FlxShader
{
@:glFragmentSource('
#pragma header
uniform vec2 size;
uniform vec4 color;
@AustinEast
AustinEast / .FlxEcho.md
Last active March 19, 2021 19:58 — forked from 01010111/FlxEcho.hx
Quick Flixel <-> Echo integration

2021 Update - The code in this Gist has been compiled into a haxelib for a more convenient experience! Please upgrade as this Gist will no longer be updated! Check out the repo here: https://github.com/AustinEast/echo-flixel

Quick and easy integration of Echo Physics with Haxeflixel! To get started follow these steps:

  1. Copy the content from 01-Project.xml to your own Project.xml.
  2. Create a new directory named util in the root of source code directory.
  3. Create a new file named FlxEcho.hx in the util directory.
  4. Copy the content from 02-FlxEcho.hx into the FlxEcho.hx file.

After that, you're ready to go! Check out 03-PlayState.hx to see a simple example of how to use FlxEcho.

@zzox
zzox / midiToJSON.js
Last active December 10, 2023 01:25
Convert midi files outputted by ableton into a json file with time of every note
const { Midi } = require('@tonejs/midi')
const { readFileSync, writeFileSync } = require('fs')
const FILENAME = process.argv[2]
const BPM = process.argv[3]
const DIR_SPECIFIC = process.argv[4] === "true"
const MS_PER_MINUTE = 60000
const ABLETON_PPQ = 96
try {
@torcado194
torcado194 / cleanEdge-shadertoy.glsl
Last active May 18, 2025 19:33
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