touchpadder
touchpadder on Hacker News
The game uses DEM data and OSM maps to generate in a worker: 3D roads, intersections and tunnels. Everything is created in real time around you as you drive.
The link takes you straight to a high speed race on a motorway in France. You can create your own races anywhere in the world and share the link with your friends. Press X to reset the car, long press X to return to the road. Press J for Nitro and long press to jump with the car.
Posted by
touchpadder on Saturday June 20, 2026 @09:26PM
from the hop.earth dept.
Posted by
touchpadder on Friday June 12, 2026 @06:47PM
from the hop.earth dept.
Hop Earth combines DEM data with OpenStreetMap to generate roads, intersections, tunnels, bridges and their physical meshes. It creates 1:1 scale world where you can drive anywhere on the planet. It's all generated in real time on your device as you drive. Early Access is now live.
Posted by
touchpadder on Wednesday May 22, 2024 @09:46PM
from the show-hn dept.
https://github.com/DVLP/multistate
This project is a side effect of my other project, and I thought it's something that could be used for many other purposes.I've been working for three and half years, mostly in my spare time but also two dedicated months this year on https://font.skin (originally called Fonted). It requires using certain WebGL features that are not available in Three and most importantly I wanted the project to...
This one is actually an SVG not a font. There was no such font but I really wanted to make this flaming Diablo logo. As a side effect now any SVG can be dragged and dropped onto the editor and all paths and shapes will be automatically extracted and flattened.
Posted by
touchpadder on Monday January 22, 2024 @10:26AM
from the font.skin dept.
Posted by
touchpadder on Wednesday October 18, 2023 @12:30PM
from the font.skin dept.
Until now such rich text effects required manual animation in programs like After Effects and exporting to videos.
Font.skin connects GPU shaders with webfonts to allow creating real-time, browser-based animated text effects never seen before on the web.
Global uniforms are compatible with Shadertoy i.e. iTime, iResolution etc. to allow pasting parts of shaders from ST.
Font skins can be exported to pure HTML or React and have no dependencies. Text transitions are scriptable in GLSL which is transpiled to JS. This is to allow exporting to game engines in the nearest future as transpiling from GLSL to other strongly typed languages is simpler than from arbitrary JS. The resulting code together with all required glyphs, gzipped often takes less space than a screenshot of itself or the font it's based on i.e. 30KB
Posted by
touchpadder on Monday April 10, 2023 @05:45PM
from the youtube.com dept.
The premiere was just last night so you can't find these anywhere else!
This is all very random but also fun to watch. I like the song in demo 33. Some demos are very high-effort and others....no effort at all :)
For simple devices like IOT etc to be able to keep using the short 32bit date format. Also for databases that may store dates as integers to save the space. There are plenty of cases that may want to keep using a short 32bit date format. After 2038 anyone will be able to count 32bit time from any arbitrary point of time so before that happens I'm simply suggesting a standardized way of reliably restarting it for centuries to come
Using negative values would only complicate things and the goal is to have a simple solution for not losing convenience of having a unix timestamp that fits in 32bits and is very straightforward.
In 99.9% cases there will be no need to keep track of the epoch just like the current computers don't look before 1970. In rare cases if its required the epoch can obviously be stored in another byte.
How does it require less implementation? It's just another arbitrary point in time and 2106 is too late.
There's nothing ambiguous when the epoch is known and the previous one is long gone. So you're confused about restarting a timer every 50 years, ok.
It's not true that it's much simpler to work with two 32bit words for a date than working with simply restarted clock. Basic arithmetics cannot be used reliably so every operation must go through a library like i.e. bigint used to require. This complicates the system and the goal of having a reliable 32bit date format in the future is for simplicity.
For purposes that require looking far into the future or the past we already have ubiquitous 64 bit computers.
The goal is to be able to fit the measure of time in 32bits in a standard way even after year 38 to have an alternative to using only 64bit time. 32 bits can only fit so many seconds so the clock must be restarted from time to time. The idea is to have a new 32 bit epoch every 50 years.
By assuming which epoch it is and it will be clearly a separate data type from the old unix epoch. Currently the assumption is the epoch which started in 1970. 50 years is long enough period of time to keep a standard and 18 years is long enough to switch to a new standard. With the updated standard it is simply epoch 2 now that is ignorant about any epochs before or after.
Sure and it will be used widely. What I'm proposing is how to measure the time with only 32 bit used and the solution could be a new epoch every 50 years.
Sure, using 64bits is one way but many devices i.e. IOT don't need 64bit support. 64 bit will definitely be a standard, but a concurrent standard can be implemented to allow keeping the time in 32 bits. Starting a new epoch every 50 years could be one. So starting from 1 Jan 2020 we're in epoch 2 now
Starting a new epoch every 50 years is kind of round and leaves plenty of space in between. 1970 is epoch 1, so this one will be epoch 2 and the next one in 2070 will be epoch 3 etc. It will be easy in a few hundred years to know which epoch is the current one. 2020 not 2000 for backwards compatibility to keep the intervals even for the new epochs, because the first one is already baked everywhere so we can't switch it to 1950.
We're slowly running out of time in 32 bits. It would be good to have another standard measure of time that fits in 32 bits and is agreed upon long before the old one expires
Posted by
touchpadder on Friday March 17, 2023 @04:11PM
from the self-post dept.
Old counting start date: Jan 01 1970 01:00:00 GMT+0100New counting start date: Jan 1 2020 00:00:00 UTC+0000Example in Dev Tools how to get the new epoch timeconst newBeginning = new Date('Jan 1 2020 00:00:00 UTC+0000')const newEpoch = Date.now() - newBeginning.getTime()console.log('New epoch timestamp', newEpoch)
Posted by
touchpadder on Thursday February 23, 2023 @08:34AM
from the fin3d.com dept.
Thanks for the link, pretty cool tool. So it seems like the risk of a conflict is pretty low and if it happens then a solution is to use "npx ntop" instead of just "ntop"
although its functionality is different looks like it's a name collision, at some point I may change it if the old one is still being used
Posted by
touchpadder on Thursday December 15, 2022 @12:10PM
from the self-post dept.
I'm working on this tool "ntop" to be able to quickly see the heaviest functions in any running Node process like "top" command for regular processes in Linux. The initial version required code changes but now it's working with just CLI (Linux only first)npm i -g ntopntop inject 12345 // where 12345 is process idntop 12345Prints:Profiling client node-proc-3150 time 3000(garbage collector) |...
After digging into .cpuprofile format I managed to recreate "Bottom-Up" view directly in CLI
Posted by
touchpadder on Sunday December 11, 2022 @10:26AM
from the github.com dept.
Same issue in progress here! I've been working for a few years on an editor(forked from Three.js editor) for my browser game bad.city and now I'm separating the editor, rewrote it in react and the current goal is making an easy-to-start-with game level editor with many assumptions. We'll see how that goes