Earlier quoted context omitted.
i wonder if simd is working. that would be cool.
If I understand the build process correctly... It should be on systems support WebAssemblySIMD, like Chrome's V8.
Show HN: Simulating 20M Particles in JavaScript
61–70 of 73 posts
Re: Show HN: Simulating 20M Particles in JavaScript
#62Earlier quoted context omitted.
I have done a few blog posts with interactive doodads like this. It takes a lot (like really a _lot_) more time to do, but I think it's the right way to go. There is so much noise on the internet caused by people casting their 2 cents into the void. Interactive thingywotsits may slow down individuals making posts, but there are a lot of individuals out there.
Not being a frontend dev, I have no idea how to even start making something like that. Are there some frameworks that make interactive simulations like that easier to make, or do you just do it the hard way?
Re: Show HN: Simulating 20M Particles in JavaScript
#63Demo on mobile [0], pretty incredible to play with. [0] https://dgerrells.com/sabby
Re: Show HN: Simulating 20M Particles in JavaScript
#64Earlier quoted context omitted.
Not being a frontend dev, I have no idea how to even start making something like that. Are there some frameworks that make interactive simulations like that easier to make, or do you just do it the hard way?
p5.js is a great medium. I did a short series in this style - you can inspect it to see full source (non minified / obfuscated) with some comments here and there. https://jason.today/falling-sand
Re: Show HN: Simulating 20M Particles in JavaScript
#65Earlier quoted context omitted.
p5.js is a great medium. I did a short series in this style - you can inspect it to see full source (non minified / obfuscated) with some comments here and there. https://jason.today/falling-sand
This is an amazing series. Love the style and incremental examples.
Re: Show HN: Simulating 20M Particles in JavaScript
#66Earlier quoted context omitted.
Not being a frontend dev, I have no idea how to even start making something like that. Are there some frameworks that make interactive simulations like that easier to make, or do you just do it the hard way?
p5.js is a great medium. I did a short series in this style - you can inspect it to see full source (non minified / obfuscated) with some comments here and there. https://jason.today/falling-sand
Re: Show HN: Simulating 20M Particles in JavaScript
#67How does one get this good with understanding hardware level details like L1 caches and the software implications?
I graduated as an Electrical Engineer, moved into Software for career. Feel like I’m missing some skills.
Specifically how can I better understand and use:
- the chrome Profiler? It’s scary to me currently. - Graphics programming - Optimisiations?
Re: Show HN: Simulating 20M Particles in JavaScript
#68Such a clever fellow. How does one get this good with understanding hardware level details like L1 caches and the software implications? I graduated as an Electrical Engineer, moved into Software for career. Feel like I’m missing some skills. Specifically how can I better understand and use: - the chrome Profiler? It’s scary to me currently. - Graphics programming - Optimisiations?
I'm not super skilled at the chrome profiler either, it seems to be suited better for certain tasks than others, but I might just be doing it wrong ...
Re: Show HN: Simulating 20M Particles in JavaScript
#69Marvelous. I spent an hour to understand the code and play with it. Here is a live implementation: https://particules.kapochamo.com/index.html
Re: Show HN: Simulating 20M Particles in JavaScript
#70Has anyone done similar experimentation and/or benchmarking on using webgpu for neural nets in JS?