Comment

Comment by tehsauce

Anyone else confused by the end where it mentions SDFs, says

> if you write JavaScript, I think you are already familiar with the idea:

then shows sorting an array with pairs of elements a and b in javascript and says

> And we are calling it “signed distance from b to a”.

what do SDFs have to do with sorting an array?

parent tehsauce 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton