Coding STEM

Windows 11 Boot MicroAnimation and Wise Monkey using just text

Recently, an ex-colleague of mine brought to our attention the Microsoft font possibly used in creating the spinning dots in Windows 11 boot screen. The font is called “Segoe Boot Semilight” and is a true type font. So, I had to verify that this is true, and I wanted to try to create the animation […]

Read More
STEM

Finding min, max in a sequence and plotting the distances

Let’s say that we have a sequence of numbers in consisting of whole numbers, fractions, positive and negative numbers of varying length, that is, of no predefined length (e.g.2.25, 5.25, 6.75, 8.25, 9.75…). What we want to do is to sort the numbers in ascending order, and find the differences between 2 adjacent numbers and […]

Read More
Coding STEM

Calculating Euclidean Distance in Python

Euclidean distance is the length of the line segment between two points in Euclidean space. It can be calculated from the Cartesian coordinates of the points using the Pythagorean theorem. It is a simple formula enough to be calculated by hand but powerful enough to be used in Machine Learning and Artificial Intelligence applications for […]

Read More
Coding STEM

UPDATED: Find out more about your birthday

Sometime ago, I shared my code on how to determined the day of the week of someone’s birthday based on the DOB. You can check the original post here: https://flyingsalmon.net/which-day-were-you-born/Today, however, I am extending it a little further and also showing additional information about the birthday. For example:The key news/historical events of that day!What generation […]

Read More
STEM

Simulating object’s free fall on different planets, sun, and the moon

How can we simulate a box being dropped straight from some height on Earth and graphically show the action in real-time? How will it be different on the Moon? Or on the Sun (assume it can resist the high temperature), or on other planets including dwarf planet like Pluto? Well, that was my curiousity that […]

Read More
Back To Top