Skip to main content
torres.dev brand logo
torres-dev.comAnderson Torres
Systems Engineering Lab • UMass Lowell Computing IV

C++ Systems & Algorithm Engineering Lab

Live in-browser simulations of low-level algorithms originally engineered in C++: from Karplus-Strong physical audio modeling and Sokoban matrix game mechanics to Needleman-Wunsch dynamic programming and LFSR bitwise encryption.

C++17 StandardSFML 2.5 MultimediaBoost Test & RegexWeb Audio SynthesisValgrind Memory Audited
1

Sokoban Warehouse Puzzle Engine

Art:Kenney Vleugels (Kenney.nl)CC0
PS4: Warehouse SimulationKenney CC0 Sprites

Sokoban Matrix Game Engine

Level:
Moves0
Pushes0
Grid Dims0 × 0
StatusActive
Directional Controls

Keyboard: Arrow Keys / WASD • Undo: Z/U • Reset: R

Submission Tile Notation
Crate (O / $)
Crate on Target (*)
Storage Dock (*)
Wall Brick (#)
Artwork Credit
CC0 1.0 Public Domain

Warehouse sprites, crate tiles, and character graphics created by Kenney Vleugels (Kenney.nl). Provided under the Creative Commons Zero (CC0) license.

2

Karplus-Strong Acoustic Guitar & Frequency Oscilloscope

PS3: StringSound & Physical Modeling Acoustic Synthesizer

Multi-Instrument Karplus-Strong Audio Engine

Physical simulation of string acoustics using ring buffer DSP loops. Switch between 5 distinct physical instruments.

Select Instrument:
Classic steel/nylon acoustic guitar with warm Karplus-Strong resonance.6 Strings Active
ACOUSTIC OSCILLOSCOPE (ACOUSTIC GUITAR)
IDLE • CLICK A STRING
Energy Decay Factor:0.9960
0.900 (Muted)Default: 0.9960.999 (Sustain)
Excitation:Uniform White Noise
Acoustic Guitar Strings (Click or Press Keys 1-6)Formula: N = ceil(44100 / freq)
KSguitarSim Keyboard Synthesis (Keys A to K)Full Chromatic Octave Range
3

PhotoMagic LFSR Bitwise Image Cipher

PS1: PhotoMagic & Linear Feedback Shift Register (LFSR)

Bitwise LFSR Pixel XOR Image Cipher

Pseudo-random number generation via bit shift registers and deterministic pixel decryption. Upload any custom photo or use presets.

Image Source:
LFSR Shift Register Bit Cells:Tap Index: 8 (XOR: Bit 0 ⊕ Bit 11)
00
11
12
03
14
05
06
07
08
19
010
111
012
013
014
115
016
017
018
019
PLAINTEXT IMAGE (ROWLET)
Drag and drop any image onto this canvas or click Upload Image above
Tap Position:8
4

Needleman-Wunsch DNA Sequence Alignment & Dynamic Programming

PS5: DNA Sequence Alignment & Needleman-Wunsch DP

Dynamic Programming Edit Distance & Backtracking Matrix

Optimal global pairwise alignment algorithm with $O(M \times N)$ time complexity and dynamic matrix reconstruction.

Presets:
Optimal Penalty:7
Optimal Pairwise Alignment10 positions
A↔T
Mismatch (+1)
A↔A
Match (+0)
C↔-
Gap (+2)
A↔A
Match (+0)
G↔G
Match (+0)
T↔G
Mismatch (+1)
T↔T
Match (+0)
A↔-
Gap (+2)
C↔C
Match (+0)
C↔A
Mismatch (+1)
Penalty Scoring Rules:
• Match: 0 penalty cost
• Mismatch: +1 penalty cost
• Indel / Gap: +2 penalty cost
Computed 2D Matrix ($O(M \times N)$ DP Grid)
Highlighted Path
X \ YTAAGGTCA-
A7810121315161820
A668101113141618
C6568911121416
A754679111214
G97545791012
T8864457810
T987533568
A1197642346
C13119753134
C141210864212
-1614121086420
5

Supporting Systems Laboratories: Language Models & Regex

PS6: RandWriter

Markov Chain Language Model

K-Gram Order (k):3
Output Length:150 chars
PS7: Kronos Log Parsing

Boost Regex Server Boot Diagnostics

Academic Rigor & Systems Architecture

Explore the Complete 16-Page Computing IV Portfolio Report

Written by Anderson Torres for Computing IV at UMass Lowell, covering algorithmic complexity, Valgrind memory leak profiling, operator overloading, and design patterns.