✏️ Blog

✏️ Blog

Welcome to my blog 🔥!
Part I - The Vector2D Struct and The Math2D Class
Part I - The Vector2D Struct and The Math2D Class

When setting out to build a physics engine, there's a fundamental building block you simply can't ignore: vectors. Vectors are the DNA of any physics computation—whether it's detecting collisions, applying forces, or calculating rotations.

Profile Image

Sep 11, 2023 • 7 min read

Implementing a 2D Physics Engine using SFML from Scratch
Implementing a 2D Physics Engine using SFML from Scratch

In the last two months, I've implemented my own 2D physics engine using SFML from scratch, called Physics2D. It is able to handle forces, impulses, friction, collision detection and resolving, and it allows you to add distance sensors to your objects.

Adding a 3D Model Viewer to Your Ghost Website
Adding a 3D Model Viewer to Your Ghost Website

Learn to add 3D models to your website with Model Viewer and Spline Viewer. This guide covers the basics from installation to customization, helping you boost user engagement. Compare features to find the viewer that fits your needs.

Profile Image

Oct 9, 2022 • 2 min read

How to Write a Python Script to Download a YouTube Video
How to Write a Python Script to Download a YouTube Video

Ever wanted to download a YouTube video using Python? It's simpler than you think. Using the Pytube library, you can grab videos in just a few lines of code. But always remember to respect YouTube's terms of service before downloading.

Profile Image

Oct 2, 2022 • 2 min read

How to Switch Between Monitor & Managed Mode on a WiFi-Adapter using a Bash Script
How to Switch Between Monitor & Managed Mode on a WiFi-Adapter using a Bash Script

This short post is a step-by-step guide on how to activate monitor mode on a WiFi adapter.

Profile Image

Sep 14, 2022 • 3 min read

Python *args and **kwargs - How to Use Them Guide
Python *args and **kwargs - How to Use Them Guide

*args stands for non-keyword arguments and **kwargs for keyword arguments. In your code, you don’t have to use the same names (args and kwargs). Importantly are the asterisks in front of the argument name. We use them when we are unsure about the number of arguments in our function.

Profile Image

Jun 3, 2022 • 2 min read

A New World - Soundtrack
A New World - Soundtrack

A new world is a piece about exploring an utterly new Exo-Planet. Imagine you’re in space, and you look out of the window. You see a new world that gets bigger and bigger as you move towards it. After breaking through the atmosphere, you land with your rocket.

Why I Study Mechanical Engineering
Why I Study Mechanical Engineering

Today's blog post is for anyone interested in a career in mechanical engineering. I will give you my insights into being a mechanical engineering student. This post should cover all the questions I had had before I started this study back in 2020.

Star Wars Meet Pirates and Hobbits
Star Wars Meet Pirates and Hobbits

This is a piano arrangement I composed back in 2020 when Switzerland was in lockdown. It's a combination of the music played in Star Wars, Pirates of the Caribbean, and Hobbits.