~/projects/intro.sh
$

Hi, I'm Damian.

I'm a low-level systems programmer. I build compilers, GPU simulations, and reverse engineering tools.

Main body of work

Major Work

The projects that I have invested the most time in and that I am the most proud of

Lenia
~/projects/lenia.cpp

Lenia

CPP GitHub CUDA 2026

A native interactive implementation of Lenia, the continuous cellular automaton, written in C++, CUDA, and OpenGL. Evolves floating-point fields through differentiable growth rules and radial kernels, producing lifelike moving patterns. Features real-time GPU-accelerated simulation with FFT-based convolution, interactive creature loading, species switching, drawing, and organism steering through asymmetric perturbations.

https://github.com/DeepQuantum/Lenia/
main Lenia.cpp
dconstruct
~/projects/dconstruct.cpp

dconstruct

CPP GitHub Reverse-Engineering 2026

A fully functional decompiler & disassembler for the custom bytecode used by Naughty Dog in games such as The Last of Us and Uncharted. Reconstructs human readable pseudocode, in either C, Python or Racket flavor. Conducts detailed instruction level & control flow analysis to automatically decompile the code. Features optimizations to synthesize the pseudocode into even more concise versions. Highly optimized for speed — decompiling the entirety of 8000 source files for The Last of Us Part 2 takes <10 seconds, including optimization passes.

https://github.com/DeepQuantum/dconstruct/
main dconstruct.cpp
lowercase
~/projects/lowercase.cs

lowercase

C# GitHub 2024

A lightweight C-like programming language that compiles to x86-64 assembly. Features primarily C-like syntax with OCaml-inspired quick type creation, auto-style loops, dynamic lists, and unique 128/256/512-bit integer types for science and cryptography. Implements function constraints, readonly globals, subroutines, and operator overloads through a custom lexer, parser, and emitter.

main lowercase.cs
qntm Renderer/Raytracer
~/projects/renderer.py

qntm Renderer/Raytracer

C++ Graphics 2024

A 3D rendering engine with raytracing, fully written in C++, generating high dynamic range .exr images. Implements cameras, integrators, BSDFs, lights, shapes, and BVH acceleration structures. Extended with a thin lens camera for depth of field, ray marching for Mandelbulb fractals, gravitational lensing effects, and a final pathtracer with next event estimation.

main qntm Renderer/Raytracer.py

Ongoing

Current Activity

What I am actively building or exploring right now.

~/github/activity
GitHub activity
~/projects/current/lenia-world.log

Lenia — currently turning the simulation into a sort of game where you explore a larger world built from image files loaded into a persistent layer, with things to discover and collect along the way.

C++ (CUDA)
void Simulation::setPersistentBuffer(
    const std::vector<f32>& cells,
    const size_t c_w, const size_t c_h
) noexcept {
    std::vector<f32> padded(m_worldW * m_worldH, 0.0f);
    for (size_t y = 0; y < c_h; y++)
        for (size_t x = 0; x < c_w; x++)
            padded[y * m_worldW + x] = cells[y * c_w + x];

    std::vector<c64> complex(m_worldW * m_worldH);
    for (size_t i = 0; i < padded.size(); i++)
        complex[i] = { padded[i], 0.0f };

    m_layers |= LAYER_ID::WORLD;
}

~/projects/current/pyhyde.log

pyhyde, a Python obfuscation tool written in C++. The goal is to transform Python scripts so they run identically but are extremely difficult to reverse engineer, using techniques like control flow flattening and anti-debugging. Still in early stages since it requires a full Python lexer and parser built from scratch. The lexer is complete with INDENT/DEDENT tracking, and the recursive descent parser is in progress.

C++ (lexer.h)
class Lexer {
public:
    Lexer(const std::string& source);
    std::vector<Token> tokenize();

private:
    std::string m_source;
    u32 m_pos = 0;
    Token readString();
    Token readNumber();
    Token readIdentifier();
    void processIndentation(std::vector<Token>& tokens);
    // ...
};

~/projects/current/dcpl-compiler.log

dconstruct — beyond the disassembler and decompiler already shown on this site, I've also been building a compiler for DCPL (DC Pseudo Language) that can recompile modified code back into the game's bytecode format. It's mostly functional at this point. DCPL has some unique features like SID-based symbol binding with #hash identifiers, far/near function specifications for distinguishing script vs binary calls, and a using declaration system for importing game symbols.

DCPL (hello_world.dcpl)
using #display as far (string, i32) -> void;
using #5445173390656D6D as far (string, i32, i32) -> string sprintf;


u32 main() {
    string message = sprintf("Hello World from DC version %d.%d", 0, 0);
    display(message, 19);
    return 0;
}

DCPL Grammar (unique features)
// SID-based symbol binding: # prefix for game engine symbols
using_declaration ::= "using" SID "as" far_near_spec? type alias? ";"
SID ::= "#" IDENTIFIER | "#" HEX_HASH

// far/near: script functions vs binary functions
far_near_spec ::= "far" | "near"

// foreach with colon syntax for iteration
foreach_stmt ::= "foreach" "(" type ID ":" expr ")" statement

// built-in breakpoint for runtime debugging
breakpoint_stmt ::= "breakpoint" ";"

// function types with arrow syntax
function_type ::= "(" type_list? ")" "->" type

Smaller projects and experiments

Minor Work

An accumulation of smaller projects that I've worked on over the years. Some of these are quite old by now, but I still like showing them off.

~/projects/microavx.cpp
microavx
1 2 3 4 5 6 7 8 9 10

class microavx {

std::string m_desc =

"An open source fork of the microavx IDA Pro Plugin, adding more AVX instructions such as vfmaddps, vbroadcast, and vcvtsi2ss.";

std::vector<string> m_tags =

{"CPP", "GitHub", "Open-Source", "Contribution", "Fork", "Reverse-Engineering"};

int m_completed_year = 2026;

};

main microavx.cpp
~/projects/glmacrohints.py
glMacroHints glMacroHints
1 2 3 4 5 6 7 8 9 10

class glMacroHints:

desc =

"A VS Code extension that shows inline OpenGL macro hints and parameter documentation on hover, with support for multiple OpenGL standards."

tags =

["GitHub", "TypeScript", "VSCode", "OpenGL"]

completed_year = 2024

main glMacroHints.py
~/projects/analysis_generator.py
Curve Analysis Video Generator
1 2 3 4 5 6 7 8 9 10

class Curve Analysis Video Generator:

desc =

"A tool for generating a video that analyzes the behaviour of a specific curve. Uses the Manim library. German, English and French supported."

tags =

["Interactive", "Python", "Manim", "Video"]

completed_year = 2022

main Curve Analysis Video Generator.py
~/projects/gameoflife.py
GameOfLife
1 2 3 4 5 6 7 8 9 10

class GameOfLife:

desc =

"A Game of Life implementation in JavaScript and p5.js with many presets and modes."

tags =

["Interactive", "JavaScript"]

completed_year = 2022

main GameOfLife.py
~/projects/discord_bot.py
Discord Bot
1 2 3 4 5 6 7 8 9 10

class Discord Bot:

desc =

"A personal bot for discord with a variety of functions."

tags =

["GitHub", "Python", "Bot"]

completed_year = 2022

main Discord Bot.py
~/projects/twitter_image_recognition.py
Twitter Image Recognition
1 2 3 4 5 6 7 8 9 10

class Twitter Image Recognition:

desc =

"A simple tool that attempts to find the link to a tweet based on an image of it. Uses the Tesseract-OCR engine."

tags =

["Interactive", "Python", "OCR"]

completed_year = 2022

main Twitter Image Recognition.py
~/projects/hades_room_secret_indicator.py
"Room Secret Indicator" Mod for Hades
1 2 3 4 5 6 7 8 9 10

class "Room Secret Indicator" Mod for Hades:

desc =

"A mod for the game "Hades" that shows the secrets in a room so the player doesn't miss them."

tags =

["GitHub", "Mod", "Gaming", "Lua"]

completed_year = 2022

endorsements = 276

downloads = 6,554

views = 33,669

version = v1.3.0

main "Room Secret Indicator" Mod for Hades.py
~/projects/morepomoptions.py
"More Pom Options" Mod for Hades
1 2 3 4 5 6 7 8 9 10

class "More Pom Options" Mod for Hades:

desc =

"A mod for the game "Hades" that allows the player to upgrade more Boons with the "Pom of Power", including Boons from the God Chaos."

tags =

["GitHub", "Mod", "Gaming", "Lua"]

completed_year = 2022

endorsements = 157

downloads = 4,292

views = 25,160

version = 1.2.0

main "More Pom Options" Mod for Hades.py
~/projects/parametricfuncs.py
Parametric Function Plotter Parametric Function Plotter
1 2 3 4 5 6 7 8 9 10

class Parametric Function Plotter:

desc =

"A python script to visualize parametric functions."

tags =

["Python", "Manim", "Video"]

completed_year = 2024

main Parametric Function Plotter.py
~/projects/data2image.py
Data 2 Image Data 2 Image
1 2 3 4 5 6 7 8 9 10

class Data 2 Image:

desc =

"A small C program to convert data from any file into an image."

tags =

["C"]

completed_year = 2024

main Data 2 Image.py