Better HN
topnewbestaskshowjobs
Log inSign up

mrdoob2

393 karma · joined Jul 7, 2010 (16y ago) · 117 submissions

Submissions

comment 2y ago · link · parent

Loving the editor!

comment 2y ago · link · parent

If they used https://wgpu.rs/ they would get directx and metal for free (:

comment 2y ago · link · parent

Have you considered making it a PWA?

comment 3y ago · link · parent

To this day that's still one of the top WebGL sites!

comment 3y ago · link · parent

Glad to hear! ^^

comment 3y ago · link · parent

My pleasure!

comment 3y ago · link · parent

Oh! Was not aware! Unibrau¹? :D

1. https://demozoo.org/productions/4870/

comment 3y ago · link · parent

will do!

comment 3y ago · link · parent

In the 2000s I did a quite a few demos¹.

Even if it was fun I often felt it was useless because the skills I was acquiring were only applicable for game development and that was something I was not interested in.

It was quite a shock to me when I found myself working on a WebGL demo for Google² and all what I had learnt in the demoscene paid off (and has continued paying off ever since!³⁴).

1. https://ricardocabello.com/

2. https://experiments.withgoogle.com/3-dreams-of-black

3. https://threejs.org/

4. https://m.pouet.net/lists.php?which=153

comment 3y ago · link · parent

Came here to share the same thought.

comment 3y ago · link · parent

Made this thing in 2010. I can't remember if I saw the trick being used in another website before or not... https://mrdoob.com/projects/voxels/#A/bnciaTraheakhacTSiahfa...

comment 4y ago · link · parent

Definitely not more efficient. The only thing JS would need to do here is updating a 4x4 matrix. Everything else would be in the GPU.

comment 4y ago · link · parent

At least JS-powered renderers can do something about making sure it looks the same in all browsers. With CSS you can't do anything about the fact that this simple demo doesn't render correctly in Safari/iOS and Firefox/Android.

comment 4y ago · link · parent

+1

comment 4y ago · link · parent

"98% of all canvases use a Canvas2D rendering context" ō_ô

comment 4y ago · link · parent

Safari did.

comment 4y ago · link · parent

Try with the dev version:

https://raw.githack.com/mrdoob/three.js/dev/examples/?q=node...

comment 4y ago · link · parent

We are slowly moving away from that approach.

Have a look at the NodeMaterial API that it's being designed right now:

https://threejs.org/examples/?q=nodes#webgl_materials_nodes_...

comment 5y ago · link · parent

Intel GPU?

comment 5y ago · link · parent

Here's the list of some of his inspirations: https://twitter.com/FMS_Cat/status/1379090489488470018

comment 5y ago · link · parent

That's sad :(

comment 6y ago · link · parent

Beautiful!

comment 6y ago · link · parent

Thanks for debugging this! I'll see if I can fix it

comment 6y ago · link · parent

No

comment 6y ago · link · parent

I would recommend watching Andreas Kling's youtube series where he builds a javascript engine from scratch.

https://www.youtube.com/watch?v=byNwCHc_IIM

comment 6y ago · link · parent

Yeah! I want to see! :D

comment 6y ago · link · parent

FWIW runs at 30fps on a Pixel 3a :)

comment 7y ago · link · parent

It is open source: https://github.com/brunosimon/folio-2019

comment 8y ago · link · parent

https://www.awwwards.com/ is a good start.
1234