Sunday, January 5, 2025

Art - Exploring objects in the computational universe

Fractals are characterized by self-similarity and recursive patterns at various scales. Sometimes this complex behavior can be achieved from simple rules which typically make use of loops, recursion, or even modular arithmetic in conjunction with bit-wise operations (XOR; AND, ETC).

I had found this example a while ago and I'm still amazed at how such a complex pattern like the Sierpinski fractal can emerge in only 14 bytes of assembler code!? Truly mind-boggling.

The second example uses modular arithmetic to create a maze-like fractal pattern.

REPOSITORY FOR ART 





Saturday, January 4, 2025

[keyc] : A proof-of-concept Linux Keylogger in C

[keyc] : KeyCapture

A simple keylogger for Linux using evdev. This program captures keyboard input. I

t requires root privileges to run. Keyboard device file defaults to event0. 


If different, check /proc/bus/input/devices and run with paramater specifying device file number (X) as in ./keyc X


Key chars are stored in .capt.dat


Compilation

Compile the program with GCC:

  • gcc keyc.c -o keyc

Saturday, November 30, 2024

Sunday, August 27, 2023

A starfield animation in C with SDL2

Starfields are one of my favourite pixel animations.

Hugo Elias once wrote a wonderful write-up tutorial about the intricacies of coding star field animations that should not fall into oblivion.

http://web.archive.org/web/20160114180422/http://freespace.virgin.net/hugo.elias/graphics/x_stars.htm

My implementation in C with SDL2:

https://github.com/velorek1/starfield



Tuesday, April 25, 2023

N.R.P ( Número de registro personal)

CALCULA TU NRP