home.social

#sparkjs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sparkjs, aggregated by home.social.

  1. Loading images is one of the most fundamental things a browser does. It turns out that doing it efficiently from JavaScript is an open problem. There are multiple APIs available and the right choice depends on the browser you are targeting.

    ludicon.com/castano/blog/2026/

    #webgpu #webgl #sparkjs

  2. Loading images is one of the most fundamental things a browser does. It turns out that doing it efficiently from JavaScript is an open problem. There are multiple APIs available and the right choice depends on the browser you are targeting.

    ludicon.com/castano/blog/2026/

    #webgpu #webgl #sparkjs

  3. Loading images is one of the most fundamental things a browser does. It turns out that doing it efficiently from JavaScript is an open problem. There are multiple APIs available and the right choice depends on the browser you are targeting.

    ludicon.com/castano/blog/2026/

    #webgpu #webgl #sparkjs

  4. Loading images is one of the most fundamental things a browser does. It turns out that doing it efficiently from JavaScript is an open problem. There are multiple APIs available and the right choice depends on the browser you are targeting.

    ludicon.com/castano/blog/2026/

    #webgpu #webgl #sparkjs

  5. Loading images is one of the most fundamental things a browser does. It turns out that doing it efficiently from JavaScript is an open problem. There are multiple APIs available and the right choice depends on the browser you are targeting.

    ludicon.com/castano/blog/2026/

    #webgpu #webgl #sparkjs

  6. I fixed the shader imports in spark.js to work with static analysis, so you can estimate bundle sizes for WebGL and WebGPU.

    In practice, though, shaders are imported dynamically. You only pay for what you use, so the actual overhead is tiny.

    #webgl #webgpu #sparkjs

  7. Live dev test! SparkJS + A-Frame loading a Marble .spz with JXR-Core — in-browser demo of 3D asset loading (warning: low perf). Fun peek into WebXR/WebGL + JS tooling and model pipelines. Check it out and tell us what breaks! #SparkJS #AFrame #Marble #JXR #WebXR #WebGL #JavaScript #OpenSource #Dev #PeerTube #LiveTest #English
    video.benetou.fr/videos/watch/

  8. I've put together an updated version of the Sponza scene with uncompressed PNG and compressed AVIF textures. I wrote about the process and compared the results against KTX.

    ludicon.com/castano/blog/2026/

    #webgpu #sparkjs

  9. While working on spark.js, I realized that normal map compression formats weren’t supported in popular frameworks like three.js. I addressed that gap by adding the necessary support to three.js and wrote an article to shed some light on the topic, drawing from my experience in real-time 3D graphics.

    ludicon.com/castano/blog/2026/

    #webgpu #webgl #threejs #sparkjs