AnonymousÂ asks:

something about how we tweak physics to âworkâ better inÂ games?

Ho ho! *Work*. Get it? Like inÂ physicsâŠ?

AnonymousÂ asks:

something about how we tweak physics to âworkâ better inÂ games?

Ho ho! *Work*. Get it? Like inÂ physicsâŠ?

Hi! Here are a few loose thoughts about picking randomÂ numbers.

Not *music* nerds,Â obviously.

I donât know anything about music. I know there are letters but sometimes the letters have squiggles; I know an octave doubles in pitch; I know you can write a pop song with only four chords. Thatâs aboutÂ it.

The rest has always seemed completely, utterly arbitrary. Why do we have twelve notes, but represent them with only seven letters? Where did the key signatures come from? Why is every Wikipedia article on this impossible to read without first having read all theÂ others?

A few days ago, some of it finally clicked. I feel like an idiot for not getting it earlier, but I suppose it doesnât help that everyone explains music using, well, *musical notation*, which doesnât make any sense if you donât know why itâs like that in the firstÂ place.

Here is what I gathered, from the perspective of someone whose only music class was learning to play four notes on a recorder in second grade. I stress that I donât know anything about music and this post is terrible. If you you so much as know how to whistle, please donât read this you will laugh atÂ me.

I used Perlin noise for the fog effect and title screen in Under Construction. I tweeted about my efforts to speed it up, and several people replied either confused about how Perlin noise works or not clear on what it actuallyÂ is.

I admit I only (somewhat) understand Perlin noise in the first place because Iâve implemented it before, for flax, and that took several days of poring over half a dozen clumsy explanations that were more interested in showing off tech demos than actually explaining what was going on. The few helpful resources I found were often *wrong*, and left me with no real intuitive grasp of how and *why* itÂ works.

Hereâs the post I wish I couldâve read in the firstÂ place.

DecimalÂ sucks.

Ten is such an awkward number. Its only divisors are two and five. Two is nice, but five? Who cares about five? What about three andÂ four?

I have a simple solution to all of these non-problems *and more*, which is: we should switch to baseÂ twelve.

I was thinking about doing a problem for heteroglot â my quest to solve every Project Euler problem in a different programming language. (Theyâre adding new problems much more quickly than Iâm solving them, so so far Iâve made *negative* progress.) Then I discovered Iâd already done two, but never wrote about either of them. Oops! Hereâs a twofer,Â then.

This post necessarily gives away the answers, so **donât read this if youâd like to solve the problems yourself**.

Many moons ago, I started a ridiculous quest to solve every Project Euler problem, in order, with a different programming language. I called it âheteroglotâ.

Partway through that, I gave myself the additional unwritten rule that the next language would be selected by polling the nearest group of nerds. This has resulted in math problems solved in such wildly inappropriate languages as vimscript, MUMPS, LOLcode, and XSLT.

Itâs been a while since I did one of these, but I still remember that the next language Iâm stuck using is COBOL. I donât know who suggested it, but I hope he chokes on a rake.Â â„

I figure if this is interesting to me, it might be interesting to someone else. So letâs learn some math and/or COBOL.