Skip to content

Instantly share code, notes, and snippets.

View redaphid's full-sized avatar
💭
Adrift, in an ocean of stars.

Aaron Herres redaphid

💭
Adrift, in an ocean of stars.
  • Loqwai
  • Drifting
View GitHub Profile
uniform float knob_1;
void mainImage(out vec4 color,in vec2 fragCoord){
vec2 resolution=iResolution.xy;
// Adjusted coordinates to center the circle
vec2 uv = (2. * fragCoord.xy - resolution) / iResolution.y;
float radius=knob_1;
// Calculate the distance from the center
float dist=length(uv);
@redaphid
redaphid / self-hosted-shadertoy.frag
Last active February 3, 2024 22:13
Demo of shaders that can run anywhere
void mainImage(out vec4 color,in vec2 fragCoord){
vec2 resolution=iResolution.xy;
// Adjusted coordinates to center the circle
vec2 uv=(vec2(fragCoord.x,resolution.y-fragCoord.y)/resolution.xy-.5)*2.;
float radius=iMouse.x/1000.;
#ifdef PAPER_CRANES
radius = energyNormalized;
#endif
// Calculate the distance from the center
float dist=length(uv);
@redaphid
redaphid / test.md
Created March 1, 2023 01:59
Copilot cover letter screenshot

abc

@redaphid
redaphid / resume.json
Last active April 3, 2022 05:14
resume.json
{
"basics": {
"name": "Aaron Herres",
"label": "A full-stack, team-building software developer with an interest in software architecture and coding philosophy. ",
"picture": "",
"email": "iam@aaronherres.com",
"phone": "",
"website": "",
"summary": "A software developer with over 15 years of experience building software. \n\nA generalist, Aaron has worked on a variety of projects ranging from startups to large corporations. \n\nAaron's passion for generalism and minimalist design has allowed him to work on platforms ranging from microcontrollers to large cloud computing clusters with 4+ million messages a minute.\n\nHe does both backend and frontend development, and has worked professionally with over 10 different programming languages.",
"location": {
@redaphid
redaphid / solution.test.ts
Last active January 18, 2022 08:19
atoi() leetcode problem Typescript tests!
import { myAtoi } from "./solution";
describe("myAtoi", () => {
test("Example 1", () => {
const input = "42";
const expected = 42;
const actual = myAtoi(input);
expect(actual).toEqual(expected);
});
test("Example 2", () => {
const input = " -42";
@redaphid
redaphid / .eslintrc
Last active December 17, 2021 23:54
.eslintrc
{
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"semi": [1,"never"],
@redaphid
redaphid / resume.json
Created October 27, 2021 01:02
Aaron-resume-2021.json
{
"basics": {
"name": "Aaron Herres",
"label": "A full-stack, team-building software developer with an interest in software architecture and coding philosophy. ",
"picture": "",
"email": "iam@aaronherres.com",
"phone": "",
"website": "",
"summary": "A software developer with over 15 years of experience building software. \n\nA generalist, Aaron has worked on a variety of projects ranging from startups to large corporations. \n\nAaron's passion for generalism and minimalist design has allowed him to work on platforms ranging from microcontrollers to large cloud computing clusters with 4+ million messages a minute.\n\nHe does both backend and frontend development, and has worked professionally with over 10 different programming languages.",
"location": {
@redaphid
redaphid / drone.svg
Created September 24, 2021 01:47
Drone SVG from tutorial
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@redaphid
redaphid / miro.ahk
Last active March 7, 2022 23:11
Windows Pen eraser Autokey Miro
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SetTitleMatchMode 2
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#InstallKeybdHook
;Coding stuff
CapsLock::~