RSSAmplifier

Blog

blog.Habrador.com

blog.habrador.comRSS feed ↗25 posts

Latest posts

Books I read in 2025

Each year I write a list of books I read during the year. This is the 2025 list: Tracers in the dark . Once upon a time there was a website called Silk Road where you could buy drugs using Bitcoin. This book is about how various groups managed to take down that website, crimes related to that website, and how similar websites were taken down. The theme is that Bitcoin is not as anonymous as you…

How to make a Neural Network in Unity in 11 lines of code using C#

Ever wanted to make a Neural Network in Unity using C#? Now you can do that in just eleven lines of code (excluding brackets) using my newly released open source library called MicrogradCSharp . Introduction Neural Networks are the backbone of many modern Artificial Intelligence algorithms and libraries. If you are trying to learn Neural Networks you will notice that most tutorials are made using…

Books I read in 2024

Each year I write a list of books I read during the year. This is the 2024 list: Shantaram . A man escapes from prison in Australia and ends up in Bombay, India. It is a novel, but some parts come from the authors own experiences. The book may be 2200 pages on my iPad but it is very well written so it was a joy to read! Industrial Light & Magic: Into the Digital Realm . Industrial Light & Magic…

How to make a texture atlas template the smart way

Using a texture atlas is a smart way to improve the performance of your game and minimize the number of textures you need to keep track of. A texture atlas is basically a square image you split into smaller squares with the same size. For example, this is how Minecraft's texture atlas looked like in 2011: The boring part is to make the template. I used to create a texture with the size I want the…

How to actually delete Rigid Bodies in Blender

I've been simulating ball physics in Blender - and it has been a little bit of a struggle. Yesterday while testing out different behavior of balls I realized that if I deleted some of the balls - Blender didn't actually remove their colliders. I couldn't see the balls themselves but I noticed that the deleted balls collided with the visible balls. I tried to restart Blender and clear the cache,…

Sourcetree GitHub login doesnt work

This is a reminder to my future self because I need to know this like once a year and I always forget the solution. This is the problem: You are using SourceTree as version control and you want to Push the latest code you worked so hard on to GitHub. But Sourcetree doesn't let you - instead you see a nasty popup telling you to sign in into GitHub. None of the passwords and username work so you…

How to generate more than one random number in Blender

This is a tutorial on how to generate more than one random number in Blender . To generate a single random number in Blender you use the Object Info node and out pops a random number for each object with a value between 0 and 1. If you connect this random number to a Color Ramp node, roughly half of the balls will be red and the other half will be black. But what if you want half of the balls to…

Books I read in 2023

Each year I write a list of books I read during the year. This is the 2023 list: Go Big: Make Your Shot Count in the Connected World . Each year I read at least one book on selling and marketing because it's always good to learn how to sell and market yourself and your products. This year's book was Go Big which is written by one of the "dudes" from the YouTube channel Dude Perfect. They currently…

Cybertruck Prototype vs Final Production Version - What Changed?

In 2019 I started making a 3D model of the Tesla Cybertruck prototype version in Blender. Four years later, in 2023, Elon Musk finally released the production version of the Cybertruck . Since I've studied every millimeter of the prototype version to be able to make the 3D model I thought it would be interesting to make a comparison of how much changed during the four years. Exterior Front bumper.…

The miniature statues of Stockholm

Stockholm, Sweden is covered in statues and sculptures. Some are big and some are small. But some are even smaller than small - they are tiny and thus very difficult to find. This will be an overview of the miniature statues I've found. Karlsson on the roof You can find this sculpture on Fjällgatan , which is a popular area to go to if you visit the Södermalm area because they view over Stockholm…

How to implement colormaps like Rainbow and Viridis in code

I've been working hard on making my very own digital wind tunnel in the Unity game engine. It's based on a tutorial from the YouTube series 10 Minute Physics called "How to write an Eulerian Fluid Simulator with 200 lines of code." I translated the code from JavaScript to C#, and I open sourced the implementation here: Ten Minute Physics in Unity. To simulate any fluid you need to study the…

Bing Image Creator AI: An overview of art styles and materials you can use

The search engine Microsoft Bing has a new tool called Image Creator . This tool lets you create images from text by using an AI system called DALL·E 2 from OpenAI . If you want a superchihuahua with a red cape, just type "superchihuahua with a red cape" and you get four images in just a matter of seconds (the more images you generate the longer it will take unless you pay Microsoft some money).…

Books I read in 2022

Each year I write a list of books I read during the year. This is the 2022 list: Masters of Doom . This is a biography on John Romero and John Carmack who created the games Doom and Quake. It tells the story from their youth up until Quake III and Daikatana. This is a book I read almost every year (so I've read it at least 5 times) because it is very well written and motivational. Rock Force: The…

How to fix the Inconsistent Line Endings Warning message in Unity and Visual Studio 2019

A few months ago I decided to upgrade to Visual Studio 2019. When using Unity together with Visual Studio a warning message started to appear: There are inconsistent line endings in the 'Assets/name-of-script.cs' script. Some are Mac OS X (UNIX) and some are Windows. This might lead to incorrect line numbers in stacktraces and compiler errors. Many text editors can fix this using Convert Line…

Render breathtaking images in Blender with these composition techniques used by elite photographers

Photo composition can be defined as "how a photographer arranges visual elements within their frame." We Blender users do the exact same thing as photographers do with our virtual cameras. What if we can find some inspiration from the people running around with crazy expensive, physical cameras in pouring rain? Andrew "Blender Guru" Price himself argues that composition is one of the most…

Adventures making custom LEGO designs

I needed a project to get my mind off the Ukraine-Russia war, and I also follow a Twitch streamer who has a new interest in building LEGO , so I was inspired to make my own LEGO design. Last time I built anything LEGO related was when I was a kid (except for some LEGO building in engineering school to learn Lean production). But these days LEGO is not only for kids - but also for adults. When you…

How to make your ugly LeoCAD LEGO models look good in Blender (Tutorial)

I've recently made my very first own Original LEGO design: South African Stream House . Some parts of the work process were a little tricky to figure out, so this article we be a summary of what I learned. You basically want to turn your LEGO models from looking like this in LeoCAD : ...to looking like this in Blender : Let's get started. This article assumes you have some basic Blender skillz. If…

2022 status check on my open source projects

I'm the big boss of open source projects on GitHub . This will be a short update what's going on with them - and what should be going on. When I started open source my projects I had no idea how fun it would be to see when people are using them - and learning from them. My goal is that my code should by as easy as possible for the users to understand by writing super clear code and comments…

How to bake perfect hard-surface normals in Blender (2022 Tutorial)

Introduction I've been working on this Cybertruck model for Tesla Simulator . The Cybertruck is a so-called hard-surface object, which is defined (according to Internet) as a modeling technique used to model cars, armor, machines, and generally non-living objects that have smooth, static surfaces. The Cybertruck above has way too many triangles to be put into a game (unless you want the game to…

How to make your Artstation pages appear in Google search (2022)

Introduction I'm on Artstation because I've made art and Artstation is the place to be if you want people to discover your art! But Artstation is also crowded with art, so how can you make it easier for people to discover your art? The answer is that you want your Artstation pages to appear in Google search because that's what people use when they are in need of something: they google it! I also…

How to make your boring animations more exciting

After I finish a piece of art I always make one of those spin around animations (I think they are sometimes called turntable animations). The basic idea is that you take a 3d model and rotate a camera around it 360 degrees so you can see all sides of it. While these animations might show the model they are also really boring to look at. For example this SpaceX Starship rocket I made for Tesla…

Books I read in 2021

Each year I write a list of books I read during the year. This is the 2021 list: Grokking Deep Learning. Someone told me that this would be an easy introduction to Deep Learning. Apparently easy within the AI field means hard. The problem with the book is that includes a lot of uncommented Python code so sometimes it's a little difficult to figure out what's going on. BUT it is including code,…

Books I read in 2020

Each year I write a list of books I read during the year. This is the 2020 list: Historical Study: German Tank Maintenance in World War II . Available for free! Physically Based Shader Development for Unity 2017: Develop Custom Lighting Systems . Omaha beachhead . Omaha beach was one of the beaches where allied forces landed during D-day. It turns out much more happened than what was seen in the…

Why you should use GitHub

GitHub is one of many services where you can upload your code for version control. The basic idea behind version control is that code projects tend to become big and messy and version control makes the project less messy - especially if many people are working with the same project. I think it was last year I really started to use GitHub for my code projects. I had several years earlier tried to…

Books I read in 2019

Each year I write a list of books I read during the year. This is the 2019 list: Predator: The Secret Origins of the Drone Revolution . Tells the history of the most famous military drone: The Predator. Fighter Wing: A Guided Tour of an Air Force Combat Wing . A combat wing is a collection of different military aircraft organized to complete a specific mission. This book tells you about the…