Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TrevorSundberg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
TrevorSundberg
3y ago
It almost sounds like it’s not using your dedicated graphics card. Do other WebGL demos run alright for you?
32.
▲
by
TrevorSundberg
3y ago
I haven’t done a lot of testing with Firefox, I’ll take a look!
33.
▲
by
TrevorSundberg
3y ago
Not yet, the port is still a work in progress. For the old Zero docs you can go here: https://github.com/zeroengineteam/ZeroDocs
34.
▲
by
TrevorSundberg
3y ago
The runtime is currently about 37MB, and when served with gzip it’s around 11MB compressed. Once it’s downloaded it should be cached and quickly startup. I think a lot of the challenge is going to be spent getting the binary to be smaller,
35.
▲
by
TrevorSundberg
3y ago
Thanks for this info! I had a feeling that we weren't handling DPI scaling correctly, but don't have a Retina screen to test it on.
36.
▲
by
TrevorSundberg
3y ago
That's so cool! Zilch was my baby, that makes me so happy :D
37.
▲
by
TrevorSundberg
3y ago
The main reason was just because this engine was entirely built for native platforms originally in C++ (not for the Web). This is a port, hence why the UI is running in WASM/WebGL.
38.
▲
by
TrevorSundberg
3y ago
Ah sorry about that, this is still a big work in progress. A lot of the old links have died so we're porting over things like documentation still. I'll add a back-link to the github!
39.
▲
by
TrevorSundberg
3y ago
I'm sure there are higher performing engines out there, but it certainly should be easily deployed to any site. For rendering, this engine currently just uses WebGL. It was built on OpenGL originally (with a swappable renderer backend
40.
▲
by
TrevorSundberg
3y ago
The mobile version needs a lot of work! But we'd love to support the full editor on phones eventually :P
41.
▲
Show HN: Unity like game editor running in pure WASM
(raverie-us.github.io)
644 points
by
TrevorSundberg
3y ago
|
159 comments
42.
▲
Show HN: WebAssembly running on the Roku (C/C++/Rust)
(motley-coder.com)
2 points
by
TrevorSundberg
6y ago
|
0 comments
43.
▲
by
TrevorSundberg
6y ago
Four months ago I had posted the first version of this project which was just the video editor. After garnering positive feedback, I decided to turn it into the social platform Gifygram where you can share your animations. A major inspirati
44.
▲
Show HN: A stupid website for animating images on top of videos (HTML5 and WASM)
(gifygram.com)
1 points
by
TrevorSundberg
6y ago
|
1 comments
45.
▲
by
TrevorSundberg
7y ago
Indeed, I made a bug to track it for myself: https://github.com/TrevorSundberg/madeitforfun/issues/2
46.
▲
by
TrevorSundberg
7y ago
I am using H264, but I'm now considering other options!
47.
▲
by
TrevorSundberg
7y ago
Great suggestion! I could use this with requestFrame()! https://developer.mozilla.org/en-US/docs/Web/API/CanvasCaptu... I think I will make this change because the ffmpeg legality seems hairy. Thank you!
48.
▲
by
TrevorSundberg
7y ago
I haven't tested in Safari since I don't own any Apple devices :( However, I'll happily take fixes for it!
49.
▲
by
TrevorSundberg
7y ago
It could certainly be adapted to work on live streams, but I'm not sure what kind of setup they have to track the ball in that example. Seems decently complicated!
50.
▲
by
TrevorSundberg
7y ago
For sure! Although this project is using a worker for ffmpeg, currently it only runs one which means it's like you're running encoding on a single core machine, but with even more JavaScript overhead. You could spin up simultaneou
51.
▲
by
TrevorSundberg
7y ago
This is a good point, actually this might be what ffmpeg.js is already doing. I was wondering why they went out of the way to run the worker and pull ffmpeg code from unpkg.com, but I suppose that makes sense now! Thanks for the tip, I'
52.
▲
by
TrevorSundberg
7y ago
The original inspiration for this was a very old video from 2007, the 300 PG version: https://www.youtube.com/watch?v=gNqiSkd1M6k I had originally named this project Cake Town as an homage to a scene in that video, however
53.
▲
by
TrevorSundberg
7y ago
Done! I took a bit of a shotgun approach because I don't have an iOS device to test, and the documentation on playsinline seems lacking (or at least non-standard). Hope that works!
54.
▲
by
TrevorSundberg
7y ago
I would definitely recommend trying something with JavaScript/HMTL5 videos. Doing anything native has always been decently complicated and there's a lot of setup work involved. If you want to get your toes wet, writing basic filte
55.
▲
by
TrevorSundberg
7y ago
I laughed way too hard at this
56.
▲
by
TrevorSundberg
7y ago
Haha thanks for sharing, it's the first time I've seen anyone use it and share the link so I'm pretty excited!
57.
▲
by
TrevorSundberg
7y ago
Thanks for the tip, I'll try and write something up :)
58.
▲
by
TrevorSundberg
7y ago
Good suggestion. What would you think about a marker that sits above the timeline that you can drag?
59.
▲
by
TrevorSundberg
7y ago
Will do!
60.
▲
by
TrevorSundberg
7y ago
Absolutely, feel free to add it! Overall ffmpegjs/ffmpeg.js has been really nice. I would honestly prefer less API: they wrapped everything into a worker and made their own API calls, but I'd prefer the raw Emscripten filesystem a
More ›