Rotating Images
How to rotate an image, and a need trick to rotate a bitmap an arbitrary amount in a simple paint package.
Nick Berry's blog of puzzles, probability, data and mathematics, 2009–2022.
Visit datagenetics.com → RSS feedOn Hacker News Mar 2012 – Jul 2020
Math & Algorithms 18Science & Space 7Games & Graphics 5Security & Privacy 2Software Engineering 2Tools & Productivity 1
How to rotate an image, and a need trick to rotate a bitmap an arbitrary amount in a simple paint package.
How hungover can you get? Kids blocks and Calculus!
How to create perfect secret messages that can be decoded using just your eyes.
Is your PIN number too predictable? Detailed analysis on PIN number databases.
Analysis of the classic "dropping two eggs from a building" interview question
Learn the optimal strategy for playing Hangman.
How do QR codes work? How much is it possible to distort one and still have it readable?
Why are the loops on roller coasters never circular?
What is special about cylinders, and why do they have specific aspect ratios?
Can you use math to escape from, what seems like, an impossible prison escape problem based on coins and a chessboard?
Mapping nearest locations.
Detecting (and correcting) errors in digital signals.
"How two ugly parents (mathematically) can make a beautiful baby"
What are Gray codes, and why are they so useful?
You are sitting in a rowing boat in the middle of a circular lake. How do you escape from a smart monster on the shore who can run four times faster than you can row?
What is the largest volume cylinder it is possible to carve from a solid sphere? Also, so you know about the napkin ring problem?
Why we should really be quoting fuel consumption figures as 'gallons per mile' and not 'miles per gallon'.
A quick look at the ballistics and stability of aerial fireworks.
Why are the push buttons on a telephone arranged the way they are?