I am Richard Baltrusch, a German software engineer that likes to build all kinds of stuff, with a faible for Python.
You can contact me using the following links:
- Email: [email protected]
- YouTube
- Professionally Python, Java and Javascript (previously MATLAB/Simulink).
- Currently:
- Developing a full stack web application using Java (Spring Boot) and Javascript.
- Learning machine learning in Python (with Tensorflow/Keras and from scratch).
- Using Lua for game development.
- Tinkering with Julia and Haskell.
- Interested in Scala, Go and Rust.
- Games:
- I wrote a game engine and used it for my first game, Bullet Sudoku, a 2D top-down platformer.
- I have written several games for short game jams, most of which are open-sourced on Github.
- Languages: I am interested in constructed languages and custom programming languages.
- Music: I compose and procedurally generate music. The music generated by my neural network Bach generator is at least "interesting" :)
Bullet Sudoku is a small game I wrote in summer 2020 using my custom made game engine written in Python. A free demo of the game is available on itch.io. It is currently sitting at almost 100 downloads!
The source code is currently not open-source, but I plan on releasing a condensed open-source version of the game engine in the near future.
Since 2023 I published multiple game jam submissions, with open source code, to try out new technology and new ideas:
Unicast Network Sim: a Python game where you deliver network packets. Placed 16th out of 500 for innovation due to the creative input system.
Myrkur: a dungeon exploration game written with Love2D in Lua.
Fungal Whimsy: a 2D precision platformer set in a dense mushroom forest.
Uncaved: a reverse cave-exploring game where you control a cave full of traps, written in Java with libGDX.
I have a number of small / medium size pygame examples that illustrate a certain technique or explore game concepts, such as particle effects, lighting, events and networking, in more detail. Source code is available here.
I have developed a semi-complete chess-engine in Python from scratch and done a fair amount of optimization, until realizing a fully optimized chess engine likely would require more speed than Python can offer, so I started work on an implementation in C. The C-code looks less beautiful, but already runs around 70 times faster :)
Here is an AI playing chess against itself using a minimax algorithm (depth 4) using the Python version:
Here's my music analysis tool, which I started building in 2018 and recently built a fancy user interface for:
Over the years, I have worked on multiple procedural music generators, two of which are open-sourced on Github and available on pypi:
- My Bach generator generates a transformed version of music input (via midi files) using a machine-learning algorithm optimizing for correlation of the output with the input. This ensures the produced musical transformations are internally consistent.
- Continuo is a pypi package that procedurally generates music based on a provided set of input parameters.
Batest is a lightweight unit testing framework for Windows batchfile scripts. As no testing framework existed when I was learning Batch, I wrote my own 👍.
It generates simple HTML test reports like this:
Natscript is an interpreted programming language with a natural syntax resembling English:
define function main as {
set squares to []
for each number in range from 0 to 5 not equal to 3 {
multiply it by itself, then append it to squares
}
return squares
}
# This will output [0, 1, 4, 16] to the console
print result of call main
Although a bit slow, due to its current main implementation being in Python, it is a fully functional language that support procedural and functional programming. Performance issues may be addressed in the future with the C++ version (currently still WIP), or by implementing a LLVM JIT-compiler for the language.
For people unfortunate enough to come to Batch with an object oriented background, I wrote an object oriented framework for Batch, including classes and instances, methods and attributes, inheritance, encapsulation, polymorphism and object composition.
As can be seen in the code examples below, the batch OOP syntax is surprisingly clean (for batch):
Simple use of a class instance:
::instantiate new object obj of type MyClass
call new MyClass obj construct
::calling method myMethod of instance obj
call # obj myMethod
::reading obj attribute myAttr
echo !%obj%.myAttr!
::writing obj attribute myAttr
set %obj%.myAttr=1
Simple class definition:
::boilerplate
call class %*
%class%
::this is the constructor, adding one custom attribute attr
:public-construct
call super %*
set %self%.attr=0
exit /b
It's probably not very useful, but at least it was fun to make 💯💯
- I wrote a small shop application to solidify my understanding of SQL and handling confidential data securely in databases.
- I also made a small chat application to get a good grasp of networking using websockets. The application can be run on a local network.