Show newer

Maybe I should do a small

Hello everyone! I'm Ron(i) and go by Roninkoi in most places. As a kid I started off making games for competitions such as , but these days I'm more into the technical side of things. Graphics programming and is my main interest, especially and . IRL I'm a computational grad student working as a part-time code monkey

Roninkoi boosted

Is This Your Card?

Released in the 4KB Executable Graphics compo at Revision 2022.
A still image rendered by a 4-kilobyte executable.

Download: demozoo.org/graphics/307508/

Roninkoi boosted

f(x,y) = (((~(11 * y)) ^ ((~x) * (x + x))) & (~((x - 11) | (y + x)))) % 6

Extent: 256x256 (scaled x2)

"Onebit" colouring scheme.

My Emacs pinky is flaring up again, so trying to use the right Ctrl key more. Muscle memory is dang hard to overcome!

This comes from the matrix
$$
L = \begin{pmatrix}
V(1) & 1 & 0 & \cdots & 0 & 1 \\
1 & V(2) & 1 & & & 0 \\
0 & 1 & V(3) & 1 & & \vdots \\
\vdots & & & \ddots & & 0 \\
0 & & & 1 & V(q-1) & 1 \\
1 & 0 & \cdots & 0 & 1 & V(q)
\end{pmatrix},
$$
where $$V(k) = 2 \cos(2 \pi k p/q)$$ for integer p and q.

Show thread

Hofstadter's butterfly is a fractal arising from non-interacting electrons in a magnetic field. We can draw it by computing the eigenvalues of the system's Hamiltonian and plotting values of the Lyapunov exponent. Here's a shader that does just that! shadertoy.com/view/7s2XRt

Mathstodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!