frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Start all of your commands with a comma

https://rhodesmill.org/brandon/2009/commands-with-comma/
58•theblazehen•2d ago•11 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
637•klaussilveira•13h ago•188 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
935•xnx•18h ago•549 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
35•helloplanets•4d ago•31 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
113•matheusalmeida•1d ago•28 comments

Jeffrey Snover: "Welcome to the Room"

https://www.jsnover.com/blog/2026/02/01/welcome-to-the-room/
13•kaonwarb•3d ago•12 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
45•videotopia•4d ago•1 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
222•isitcontent•13h ago•25 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
214•dmpetrov•13h ago•106 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
324•vecti•15h ago•142 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
374•ostacke•19h ago•94 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
479•todsacerdoti•21h ago•237 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
359•aktau•19h ago•181 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
279•eljojo•16h ago•166 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
407•lstoll•19h ago•273 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
17•jesperordrup•3h ago•10 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
85•quibono•4d ago•21 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
58•kmm•5d ago•4 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
27•romes•4d ago•3 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
245•i5heu•16h ago•193 comments

Was Benoit Mandelbrot a hedgehog or a fox?

https://arxiv.org/abs/2602.01122
14•bikenaga•3d ago•2 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
54•gfortaine•11h ago•22 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
143•vmatsiiako•18h ago•65 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1061•cdrnsf•22h ago•438 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
179•limoce•3d ago•96 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
284•surprisetalk•3d ago•38 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
137•SerCe•9h ago•125 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
70•phreda4•12h ago•14 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
29•gmays•8h ago•11 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
63•rescrv•21h ago•23 comments
Open in hackernews

Car Physics for Games (2003)

https://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html
81•ibobev•8mo ago

Comments

TacticalCoder•8mo ago
The torque curve per gear is so cool to see... Back in the days I did record my car's engine accelerating on a flat street (and I did it both ways) and then used a fast Fourier transform to find the engine RPM from the recorded sound.

I then plotted that torque curve (it requires knowing how many cylinders, gear ration, wheel size and a few other things and there are a few approximation [like tires deforming with speed, loss, ...] but it's doable) and, sure enough, the resulting curve was very close to the one given in the car's official book.

Yup, back in the eighties car manufacturers (at least some of them) would give you a book with the gear ration and torque curve nicely plotted.

IIRC you only need to record the acceleration over one speed (say the 2nd gear) and then with the gear ratio you can plot all the gears.

It was my first Java app with a GUI! I probably still have the code somewhere on obscure backups.

PaulKeeble•8mo ago
A lot of the games are currently getting throttle mapping to RPM wrong. In Assetto Corsa if you put 20% into the throttle in neutral the RPMs will climb to red line and the throttle position just determines how quickly that happens and its because they aren't doing this correctly.
herpdyderp•8mo ago
Niels Heusinkveld on YouTube has great videos about this!
zelon88•8mo ago
Just looked this up to see an example of the behavior described. https://www.youtube.com/watch?v=0SlUlENAggE

As a side note, BeamNG.Drive has the most accurate throttle response and audio response of any driving game I've ever tried. You can almost feel the car pull vacuum (or build boost).

tpae•8mo ago
You need to simulate the torque curves
jstanley•8mo ago
You also need to simulate load on the engine even in neutral. With no load, the speed genuinely would rise to red line at a rate controlled by throttle position.
lan321•8mo ago
Is this not more so a modern<->old car neutral ethrottle thing? I haven't driven a cable operated throttle car but on bikes 20% will probably hit limiter.

I'm gonna try it after work.

The only precision revving in neutral I've done is for emissions testing a couple times but the throttle tube was barely rotating to keep it at 4k. It was still at that point where the cable just gets tensioned past the freeplay and it was kinda tricky to keep it there since very small movements would move 0,5-1k RPM.

PS: Treating 20% as 20% throttle tube rotation, not necessarily linear to how much chooch you get due to how throttle bodies open.

JKCalhoun•8mo ago
That's cool. I tried to write a driving game back in the late 80's ... a little like Spy Hunter if anyone remembers that arcade gem. I did lose myself trying to simulate the gearing — got caught in the circular logic problem described in the post.

I wanted to simulate shifting too soon and lugging the engine (vs. shifting at too high an RPM and having thrown away efficiency/performance). But determining when you were lugging the engine depended on the engine RMP which needed to allow for the gear you were in and the current forward speed ... forward speed determined by what gear you were in, what RPM ... so we're back to RPM... Never mind possible slipping of the tire if you broke traction and spinning out or drifting....

Happy to see someone lay it all out in a blog post.

(And happier still that the folks that did the game Carmageddon did a convincing enough job of all the car physics to entertain me for hours back then.)

rasz•8mo ago
Im really blown away by the $15 butt dyno phone apps able to pretty accurately measure power/torque of a car based on accelerometer reading and weight/tire size/temp/pressure entered by the user.
rypskar•8mo ago
That brings back memories. I remember using that article when creating a simple racing game for a school project in 2005. Using that game I found that the car I was using for a starter series in rallycross at the same time had higher top speed in 4th gear than 5th because of a lack of power
absurdo•8mo ago
See flight sim book counterpart called “Flights of Fantasy”.
gattilorenz•8mo ago
Timberwolf on Youtube has a series of great videos about car physics in games.

How it developed over the years: https://youtu.be/_IMN9XVYSiY

How a few games worked: https://youtu.be/hcmSBwLKVOY https://youtu.be/p5s-zbXtDoo

Absolutely recommended!

sjezewski•8mo ago
I’m just gonna leave this here …

https://youtu.be/Tn04UwfKk9o?si=8V0kGMSVoBfkZaBT

I’ve lost hours to this.

YMMV

Depending on the velocity settings of your reality