Live data from Hacker News

Nightdrive

incoherency.co.uk

61–70 of 256 posts

Re: Nightdrive

#61
post #53

Earlier quoted context omitted.

Erm, the cars are driving on the left (red taillights on left side of motorway, white headlights on right)... wouldn't North America be the other way around, with cars overtaking on the left?

He means cars overtaking you using the lane to your right. In Europe this is against the rules.

Yes, but the cars are driving on the left in this demo (like in the UK), so on the right is where you do overtake legally - in the faster lanes. I haven't noticed any "overtaking" on the left, where it would be illegal in some countries that drive on the left in the few minutes I've watched it.

Re: Nightdrive

#62

This reminds me of the movie Drive (2011), in particular the first song on the soundtrack, Kavinsky - Nightcall https://youtu.be/MV_3Dpw-BRY

I was thinking of this song exactly before I turned on the music; thought it might even be the same song for a second. I wonder why the (visual) aesthetic is evocative of this song?

Re: Nightdrive

#63

> if your browser runs JavaScript: I don't understand this remark. What browsers do people use that don't have javascript?

Some people run their browsers with JavaScript turned off. Some folks disable CSS. Some even browse via Lynx, a text web browser. It seems like the author's met some of these folks.

I had never heard of Lynx, thanks!

Re: Nightdrive

#64
post #56

BTW, while we may think that driving is a universal thing, I instantly found it amazing how North American this is. From the integrated indicators, to cars passing on your right, to the road lights and even how the road undulates. Having said that, great project! Edit: Well I got this entirely wrong and missed that this was meant to be lefthand traffic. (I caught a segment that looked more like there was an independe…

Isn't this left hand traffic though? As in, not what you'd find in America? It feels very Swedish to me, except for the traffic direction.

You're right. Still, cars passing on both sides was so North American to me that this blended in this specific impression.

Re: Nightdrive

#65
post #56

BTW, while we may think that driving is a universal thing, I instantly found it amazing how North American this is. From the integrated indicators, to cars passing on your right, to the road lights and even how the road undulates. Having said that, great project! Edit: Well I got this entirely wrong and missed that this was meant to be lefthand traffic. (I caught a segment that looked more like there was an independe…

Isn't this left hand traffic though? As in, not what you'd find in America? It feels very Swedish to me, except for the traffic direction.

What do you mean Swedish except for the traffic direction??

Re: Nightdrive

#66
post #58

Earlier quoted context omitted.

Someone with your level of optimism has an advantage. The tricky thing is, this project's renderer is currently a queue of circles to draw to a canvas. It's under 100 lines of JavaScript. So any increase in complexity will require substantial changes, like abstracting over types of drawables.

There’s probably a simple but effective way to do it, like drawing the body itself as a few black circles.

Exactly. Whenever drawing a pair of red circles for tailights, draw ~10 overlapping black circles between them. Bam. Done. I don't think this requires naive optimism, just 5 minutes of additional effort. Maybe less.

Re: Nightdrive

#68
I enjoyed reading this as much as I enjoyed watching the demo. Both the demo and the writing style are simple and calming, I didn't even notice that the cars were on the wrong side of the road until I saw the TLD ;)

Re: Nightdrive

#69

BTW, while we may think that driving is a universal thing, I instantly found it amazing how North American this is. From the integrated indicators, to cars passing on your right, to the road lights and even how the road undulates. Having said that, great project! Edit: Well I got this entirely wrong and missed that this was meant to be lefthand traffic. (I caught a segment that looked more like there was an independe…

I think it's from the UK or somewhere else that they drive on the left. Opposing traffic is on the right.

Also, the co.uk domain may be a hint.

Re: Nightdrive

#70

I'm amused that we share initials and a passion for this kind of project! Mine's https://rezmason.github.io/drivey . One key difference: this guy built his demo from scratch, whereas mine's a port of someone else's work. It's great to see another implementation, with its own techniques and features.

[deleted]
Post reply on HN