Site Demo
What this blog should be capable of!
This is a site demo! It is only a quick showcase of what this blog can do, to test when refactoring that all the bits and pieces still work and also to show how flexible markdown setups with MDX are! Maybe, I'll write a writeup on how this blog works...
Table of contents
Images
Quotes
Some awesome quote.
Another Quote.
Links
Math
Code
function divScalar(vec: Vec2, scalar: number) {
return new Vec2(vec.x / scalar, vec.y / scalar);
}
function multScalar(scalar: number) {
return new Vec2(vec.x * scalar, vec.y * scalar);
}
function sub(vec: Vec2, vec2: Vec2) {
return new Vec2(vec.x - vec2.x, vec.y - vec2.y);
}
function add(vec: Vec2, vec2: Vec2) {
return new Vec2(vec.x + vec2.x, vec.y + vec2.y);
}
Demo
Accessible Emojis
Like this. 🤗
Which should look like this in the HTML in the dev tools!
<span role="img" aria-label="hugging face">🤗</span>
3D demos
Subscribe to Live and Learn
Twice a month. Quotes, photos, booknotes and interesting links. Bundled together in one heck of a Newsletter. No spam. No noise.
Keep reading:
A Sense of Progress
Most people think of progress as a good thing. We want to be better than we were before, we want to push our limits, and we want to invent, create and thrive. We have a sense of progress, and that sense makes us feel good. But, why?
Fundamental Problems
When I think about life there are many problems I have, problems that I need to solve, if I want to live a fulfilled and good life. And I think that many people share these problems because they are fundamental problems.
Collision Detection in 2D
If you have ever played any video game in your life, you used algorithms that solve the hard problem of collision detection, without even knowing about it. The solutions are often ingenious and answer the question of "what do we need all this math for" beautifully. This post is a deep dive into one of those solutions. The SAT algorithm.