frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The simple geometry behind any road

https://sandboxspirit.com/blog/simple-geometry-of-roads/
23•azhenley•2d ago

Comments

jstanley•57m ago
You're missing one very important type of curve: a clothoid (or "Euler spiral") is a curve of continuously-varying radius, these are encountered on roads very frequently. And especially on race circuits.

A clothoid is used to connect two lines the same way your fillet is, except instead of just 1 radius it has a radius configured for each end and smoothly changes in between.

https://en.wikipedia.org/wiki/Euler_spiral

They are also used in railways, because on a railway you don't have the freedom of moving the car's position across the road, so a transition from a straight track to a constant radius would imply an instantaneous step change in centrifugal force, or infinite jerk. Using a clothoid to smooth the change between the straight track and the constant-radius turn means the lateral acceleration increases smoothly instead of instantaneously.

trelbutate•18m ago
I was also confused about that because they did mention clothoids in their first post: https://sandboxspirit.com/blog/art-of-roads-in-games

Although re-reading that it seems they just don't want to deal with the math involved

dilberx•44m ago
many are yet to catchup
red_admiral•42m ago
And then you have various types of hairpin bend where you actually vary the width of the lanes with the radius: https://www.google.com/maps/@46.8360535,9.6369913,68m

Category Theory Illustrated – Orders

https://abuseofnotation.github.io/category-theory-illustrated/04_order/
57•boris_m•2h ago•11 comments

Amiga Graphics

https://amiga.lychesis.net/
51•sph•3h ago•2 comments

Claude Design

https://www.anthropic.com/news/claude-design-anthropic-labs
1037•meetpateltech•18h ago•677 comments

Show HN: I made a calculator that works over disjoint sets of intervals

https://victorpoughon.github.io/interval-calculator/
148•fouronnes3•8h ago•26 comments

The simple geometry behind any road

https://sandboxspirit.com/blog/simple-geometry-of-roads/
24•azhenley•2d ago•4 comments

Measuring Claude 4.7's tokenizer costs

https://www.claudecodecamp.com/p/i-measured-claude-4-7-s-new-tokenizer-here-s-what-it-costs-you
607•aray07•17h ago•431 comments

Towards trust in Emacs

https://eshelyaron.com/posts/2026-04-15-towards-trust-in-emacs.html
105•eshelyaron•2d ago•12 comments

All 12 moonwalkers had "lunar hay fever" from dust smelling like gunpowder (2018)

https://www.esa.int/Science_Exploration/Human_and_Robotic_Exploration/The_toxic_side_of_the_Moon
332•cybermango•15h ago•191 comments

Spending 3 months coding by hand

https://miguelconner.substack.com/p/im-coding-by-hand
206•evakhoury•17h ago•206 comments

Michael Rabin Has Died

https://en.wikipedia.org/wiki/Michael_O._Rabin
19•tkhattra•2d ago•0 comments

Rewriting Every Syscall in a Linux Binary at Load Time

https://amitlimaye1.substack.com/p/rewriting-every-syscall-in-a-linux
44•riteshnoronha16•4d ago•15 comments

It is incorrect to "normalize" // in HTTP URL paths

https://runxiyu.org/comp/doubleslash/
28•pabs3•3h ago•16 comments

A simplified model of Fil-C

https://www.corsix.org/content/simplified-model-of-fil-c
175•aw1621107•11h ago•94 comments

Are the costs of AI agents also rising exponentially? (2025)

https://www.tobyord.com/writing/hourly-costs-for-ai-agents
202•louiereederson•2d ago•51 comments

Brunost: The Nynorsk Programming Language

https://lindbakk.com/blog/introducing-brunost
63•atomfinger•4d ago•24 comments

Show HN: Smol machines – subsecond coldstart, portable virtual machines

https://github.com/smol-machines/smolvm
327•binsquare•16h ago•100 comments

Slop Cop

https://awnist.com/slop-cop
175•ericHosick•18h ago•104 comments

Show HN: PanicLock – Close your MacBook lid disable TouchID –> password unlock

https://github.com/paniclock/paniclock/
189•seanieb•16h ago•82 comments

"cat readme.txt" is not safe if you use iTerm2

https://blog.calif.io/p/mad-bugs-even-cat-readmetxt-is-not
181•arkadiyt•14h ago•99 comments

Hyperscalers have already outspent most famous US megaprojects

https://twitter.com/finmoorhouse/status/2044933442236776794
191•nowflux•17h ago•154 comments

Middle schooler finds coin from Troy in Berlin

https://www.thehistoryblog.com/archives/75848
230•speckx•18h ago•107 comments

NASA Force

https://nasaforce.gov/
271•LorenDB•17h ago•266 comments

Landmark ancient-genome study shows surprise acceleration of human evolution

https://www.nature.com/articles/d41586-026-01204-5
78•unsuspecting•10h ago•63 comments

NIST gives up enriching most CVEs

https://risky.biz/risky-bulletin-nist-gives-up-enriching-most-cves/
200•mooreds•18h ago•51 comments

Casus Belli Engineering

https://marcosmagueta.com/blog/casus-belli-engineering/
38•b-man•8h ago•12 comments

Making Wax Sealed Letters at Scale

https://waxletter.com/
17•hjconstas•2d ago•12 comments

Introducing: ShaderPad

https://rileyjshaw.com/blog/introducing-shaderpad/
92•evakhoury•2d ago•18 comments

The Unix executable as a Smalltalk method (2025) [video]

https://www.youtube.com/watch?v=sZjPQ7vtLNA
54•surprisetalk•1d ago•4 comments

The GNU libc atanh is correctly rounded

https://inria.hal.science/hal-05591661
93•matt_d•3d ago•20 comments

Ban the sale of precise geolocation

https://www.lawfaremedia.org/article/it-is-time-to-ban-the-sale-of-precise-geolocation
695•hn_acker•18h ago•176 comments