magnogen.net

hi im mag

socials

github magnogen
youtube magnogen
itch magnogen.itch.io
esolangs.org user:magnogen
reddit magnogen on the moon
mastodon mag (cupoftea.social)
twitter x magnog3n

utils

src

a bunch of modular libraries i tend to use in my projects. i labelled the good ones in green.

show me sauce (github)

tl;dr:

anim.js overly complicated animation library
cam.js idk why i didn't use ctx.transform()
colour.js poor boy's chroma.js
dom.js poor boy's jquery
fsm.js finite state machines
iter.js loop over various things
limit.js clamp, modulo, fold? sigmoid?
meal.js string parsing
pen.js inspired by scratch's pen blocks
piper.js ...we don't talk about piper.js
pretty.js meant to be a console.log alternative
random.js various rng related stuff
scene.js i'll probably use this if i make videos again
shader.js poor boy's webgl
shape.js whatever happened to ctx.beginPath()
sorder.js second order systems - thanks t3ssel8r
tinylib.js collection of unrelated things
vec.js very helpful vector library
palbo (palette book)

a site for storing colours. it was requested by a friend of mine, and i thought it turned out pretty good.

show me sauce (github)

games / interactive demos

aberratium (game)

my acerola jam 0 submission.

show me (itch) sauce (github)
weirdle (game practice)

wordle practice.

show me sauce (github)
sand (cellular automata)

a browser-based cellular automata written in js. you can play with a bunch of elements, from sand and water to fire and lava.

show me sauce (github)

creative code

graidients

generate gradients and patterns using neural networks. written in js.

show me sauce (github)
dots

play with some jiggly dots. written in js.

show me sauce (github)
primes

prime numbers go brr.

show me sauce (github)
flood

a browser-based colourful flood-fill algorithm written in js.

show me sauce (github)
shadering

hm yes i know webgl. really basic glsl shader - noise, domain warping, etc.

show me sauce (github)
triangles

just a couple o' triangles.

show me sauce (github)