HackerTrans
TopNewTrendsCommentsPastAskShowJobs

greggman65

no profile record

Submissions

Show HN: Sedon – node based 3D generation

github.com
5 points·by greggman65·الشهر الماضي·0 comments

Show HN: Equirect – a Rust VR video player

github.com
14 points·by greggman65·قبل 3 أشهر·1 comments

Show HN: HDR Draw

greggman.github.io
1 points·by greggman65·قبل 10 أشهر·0 comments

comments

greggman65
·قبل 19 يومًا·discuss
I wrote this one, a year after that video, inspired by it

https://greggman.github.io/doodles/sort

Browsers (and machines) were slower then so it didn't finish as fast as it does today. Also, it's hard to decide what steps to illustrate/count. Is a swap 1 step (swap) or 4 (load slot N to R1, load slot M to R2, store R1 in M, store R2 in N) etc...
greggman65
·قبل 29 يومًا·discuss
I depends on your definition of "working on" :p

A worked on a 3d asset generator with nodes (like Blender/Houdini)

https://greggman.github.io/sedon/

I worked on a couple of design generators

https://github.com/greggman/design-new-tab-page/

https://github.com/greggman/gdp-gen/
greggman65
·الشهر الماضي·discuss
I don't know if this was my "Oh Shit" moment but 4 weeks ago I thought'd I'd try vibe coding a WebGPU 3D Node Based Editor.

https://github.com/greggman/sedon

It was just an experiment and I probably won't work on it more but still, I was blown away with how far we got. There's a quite a bit we worked through even though it was only part time of those 4 weeks.
greggman65
·قبل 3 أشهر·discuss
> Quake made PVS famous. It’s still useful in some indoor games where the scene geometry is static and bake time is acceptable.

It was used extensively in outdoor games like Jak and Daxter.
greggman65
·قبل 3 أشهر·discuss
It’s a WebGL issue, fixed in WebGPU.

Browsers generally only allow a fixed number of WebGL contexts per page. So a generic element effect library has the issue that too many elements some will start losing contexts. The workaround is to just make one large screen size canvas and then figure out where the elements are you need to draw an effect for. now you only have one context drawing all the elements. But, you can’t know where to draw until the browser scrolls and renders so you’re always one frame behind.

https://webgl2fundamentals.org/webgl/lessons/webgl-multiple-...

WebGPU doesn’t have this issue. You can use the same device with multiple canvases

https://webgpufundamentals.org/webgpu/lessons/webgpu-multipl...
greggman65
·قبل 5 أشهر·discuss
I think this is a good example of something you can vibe-code today. (though maybe not as good)

I went to gemini, picked "cavnas". used this prompt

> There's a famous CG scene in the movie Hackers where they "Hack the Gibson". It shows a bunch of translucnt cubes with glowing edges. The textures on the cubes are live computer text. The camera slowly flyies between the cubes tilting gracfully and it searches for the main one.

> Reproduce this scene in Javascript. Be sure to include each of those features

> 1. live computer text which you can simulate by drawing to a canvas offscreen and uploading to a texture, adding more output as it goes. You can even use "function.toString()" of the code you write as input

> 2. a post processing step so we get a glow

> You can probably use three.js for this

Here's the result.

https://codepen.io/greggman/pen/XJKPBZW

No, it's not as good as the site linked above and it's unlikely it would be. On other hand, it got this far on the first try. Maybe a few more iterations and it could get the stuff you want.
greggman65
·قبل 6 أشهر·discuss
I didn’t put nearly as much effort as this post into shape matching but I did try a few other things like

Non-ascii, I tried various subsets of Unicode. There’s the geometric shape area, CJK, dingbats, lots of others

Different fonts - there are lots of different monospace fonts. I even tried non-monospaced fonts tho still drawn in grid

ANSI color style https://16colo.rs/

My results weren’t nearly as good as the ones in this article but just suggesting more ways of exploration

https://greggman.github.io/doodles/textme10.html

Note: options are buried in the menu. Best to pick a scene other than the default
greggman65
·قبل 6 أشهر·discuss
this is why when I my sister wanted a website I just pointed her at substack. She was posting immediately
greggman65
·قبل 6 أشهر·discuss
No. Just like Owl City isn't his real voice. If the song is good I don't personally care.

Most of the music I like is loops pasted together in some DAW. Sure, it requires taste to make a good song but if AI figure out how to replicate that taste can crank out catchy tunes I wouldn't have a problem with it. I can only guess though that too much of a good thing will lead to be getting bored with it ... maybe.

It's not like most pop music isn't formulaic. I enjoy the currently popular songs from K-Pop Demon Hunters but they're so cliche, if they turned out to be AI generated I wouldn't be surprised :P
greggman65
·قبل 6 أشهر·discuss
I've never made one of these so I have no idea what all the issues are but I feel like I want it to act like presentation software. I want to be able to connect boxes with lines/arrows, then drag the boxes and have the lines stay connected to the boxes. I probably also want group things like I can in most structured drawing programs. Maybe that doesn't work well with ASCII

Like a simple example, I expect if have a object selected and press Cmd/Ctrl-C, Cmd/Ctrl-V I get a duplicate.

These interactions seem like basic table stakes
greggman65
·قبل 6 أشهر·discuss
maybe there is more going on here but it's relatively easy to make a text post processing shader and apply it to anything, 3d scene, a video, etc...

https://post-processing.tresjs.org/guide/pmndrs/ascii

https://forum.babylonjs.com/t/ascii-shader-using-glsl-postpr...

https://threejs.org/examples/?q=ascii#webgl_effects_ascii

https://fwdapps.net/l/asci/

https://codesandbox.io/p/sandbox/ascii-postprocessing-n628p8...

https://www.youtube.com/watch?v=NxeRcnLr0ko
greggman65
·قبل 6 أشهر·discuss
Rust and Python appear to still long lived ones so it's only a matter of time until they get the same issues it would seem?
greggman65
·قبل 6 أشهر·discuss
There's several of these on shadertoy

https://www.shadertoy.com/results?query=crt

I made a Pico-8 post processing script using a few

https://greggman.github.io/pico-8-post-processing/nano-villa...

also an article on starting one on WebGPU here

https://webgpufundamentals.org/webgpu/lessons/webgpu-post-pr...
greggman65
·قبل 7 أشهر·discuss
I have something tangentially similar here: https://jsgist.org

If you click save you get the option to use a URL.

The problem with a URL every edit is a new URL. So you send the URL to a friend, then fix a typo, they need a new URL.

The other problem is of course the space limit.
greggman65
·قبل 7 أشهر·discuss
This seems tangentially related?

https://github.com/google/toucan
greggman65
·قبل 8 أشهر·discuss
Those have nothing to do with "what the browser exposes". They are exposed regardless of what you use to connect.
greggman65
·قبل 8 أشهر·discuss
that site is just as bad at giving probably false numbers that are several orders of magnitude off
greggman65
·قبل 8 أشهر·discuss
that site has the same issue. It will give ridiculous and easily provably false results for iPhones.

There are ~40 million in the PST time-zone. Some percent have smartphones (80%+), ~50% of those are iPhones (16 million). Of those, the majority are set it English (80%+), and are divided into screen sizes. But basically, if you have an iPhone, you have the same fingerprint has at least a million other other people in the PST time size. You are at best, 1 of 100, not 1 of x,xxx,xxx,xxx.

You might be x,xxx,xxx,xxx of people who visited that unpopular site but no one needs tracking on an unpopular site. On a popular site you will not have a unique finger print.
greggman65
·قبل 8 أشهر·discuss
There's a mis-understanding of at least the Graphics part. For example WebGPU features. It looks like lots of info

https://webgpureport.org/

But, they are bucketed

https://www.w3.org/TR/webgpu/#privacy-considerations

It's not zero pieces of info but it's also not close to as bad as it looks. Effectively, everyone who has, say an NVidia GPU, will likely have the same list of features and limits.

As a more general example: The number is just a flat out wrong

> Unique to 1 in 2,147,483,648+ devices.

No, I have an iPhone Pro and am in the PST time zone, set to English. It has the exact same finger print as millions of other devices among the 40 million people in the PST time zone. In general, The only things different between 2 iPhones of the same model are time-zone, laguange setting, and font size.

Please STOP EXAGGERATING!
greggman65
·قبل 8 أشهر·discuss
I wish you luck!!!

I tried this in 2014 with happyfuntimes

https://docs.happyfuntimes.net/

My conclusion was, past a certain number of people no one wants to game

Around the same time was AirConsole and still available

https://www.airconsole.com/