Skip to content

Instantly share code, notes, and snippets.

View DeltaF1's full-sized avatar

DeltaF1 DeltaF1

  • Deep in The Well of Recursion
View GitHub Profile
@kynex7510
kynex7510 / susmodules.txt
Last active November 25, 2024 13:25
List of sysmodule reimplementations
sm: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/sm
fs: NA
pm: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/pm
loader: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/loader
pxi: https://github.com/LumaTeam/Luma3DS/tree/master/sysmodules/pxi
am: https://github.com/ZeroSkill1/3ds_am
camera: NA
cfg: https://github.com/luigoalma/3ds_cfg
codec: NA
dsp: NA
@non
non / grep.tal
Last active February 18, 2025 04:43
Regex implementation in Uxntal. Includes a simple grep implementation was well as a REPL for testing.
( grep.tal )
( )
( by d_m )
( print a character to STDOUT )
%emit { #18 DEO }
( the first argument to grep is the regex )
( arguments are passed on STDIN, so we just )
( assume the first "line" is the argument )
@wilbefast
wilbefast / fisheye.frag
Created May 1, 2015 18:17
Fish-eye Shader for Love 2D
const float PI = 3.1415926535;
vec4 effect( vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords)
{
float aperture = 178.0;
float apertureHalf = 0.5 * aperture * (PI / 180.0);
float maxFactor = sin(apertureHalf);
vec2 uv;
vec2 xy = 2.0 * texture_coords.xy - 1.0;