Profile avatar
davo.bsky.social
Creative engineering. Quietly building knowledge & creative tools with AI & Applied ML. Blender super nerd. Cloud & local computing enthusiast. Enraged, empathetic, tired & chronically online.
99 posts 124 followers 66 following
Prolific Poster
Conversation Starter

Using skimage, cv2 & PIL to detect & extract layout features. Instead of setting custom parameters per image, you can tell Python to create a range of combinable configurations and let it work its magic.

Spring profiles. Made with #threejs.

Made a pretty realistic Spring with controllable coils, tension and resistance. Made with #threejs

Reminder for myself to never use Node.js for parsing structured data from LLMs. Go with Python.

In previous iterations, I managed to get pretty close using an arc-based interpolation. But I’m looking for a more generalized solution that allows me to truly control bounded/mapped interpolations between open planar meshes to close ring meshes.

Never been this close to solve my complex interpolation problem. The solution seems to be emerging by intuitively combining bones with conformal mapping equations. 5 bucks to Cauchy–Riemann.

WIP: Made a layout engine. It’s called Organica. - Auto Layout features based on the Cassowary Constraint Solving algo. - Custom easing curves. - Uses FTrig for Fast Trigonometry fns. - Comes with a Transitionable operator to handle transitions between layout mutations

Published my second package on NPM (it’s 🔒 for now) but I’m super happy I took time to learn how to ship utility libraries with Bun.

Ok, ominous…

What I find fascinating about the AI / Tech scene is how much of that grift is actual escapism. Bros thinking that they can hustle their way out of fascism.

A moment of clarity hits you while wandering, call it discovery. A moment of clarity hits you while playing, call it experience.

Future Works In Progress.

Well, it turns out the 2012 movie “Iron Sky”, where the naz*s built a base on the moon was not so far off after all.

This weekend I wrote a GLTF and GLB file exporter for Valence 3D (built on cgltf) With #gltf & #glb exporting you can quickly import your #3D scenes made in valence3d.app into rendering & game engines. GLTF is widely used on the web so I’m hoping this will help people with #threejs #r3f #webdev

Anyone here worked with Zig + WASM? Please, let me know... I started learning Zig this weekend and I kinda loved it. I don't want to rewrite the entire FTrig on Zig, just to prove a point, but I'm tempted to write a small version and compile it to wasm and see how much faster it can go.

Reading about math and seeing that any library that tries to balance accuracy & performance, at some point, will peruse some flavor of any of these approximation algorithms.

If you're interested in learning more about approximations, @3blue1brown.bsky.social has a fascinating video about the Taylor Series. youtu.be/3d6DsjIBzJ4?...

In the process of reading & researching about Polynomial Approximations I wrote the most predominant implementations: - Taylor & Maclaurin - Padé - Bhāskarā - Chebyshev (Minimax) It was such a fascinating way for me to uncover decades of Math, intertwined and weaved into one another.

Got a pretty extensive list of things to finish, one of them is to keep iterating on testing & benchmarks. I want to complement @bun.sh test with @fast-check.dev, so I can get a better framework to benchmark against Math.sin(), Math.cos().

Why writing a Fast Trig library? Turns out I use sin/cos pretty much on every project that has anything related to motion, from p5.js & d3.js to three.js. The Taylor Series, plus other polynomial approximations, can calculate trig functions at 2x, 3x fast than Math.sin() & Math.cos()

Made a new library called `ftrig` that can calculate sin, cos, asin & acos faster, by using polynomial approximations, LUTs, among other tricks. Almost done with testing & benchmarks. This was such a fun project, now I need to write a bit of documentation and stress testing it.

Just documenting this historical moment where a whole country is banned from using a social media platform. The message is wild.

VHS post-processing effect inspired by the work of @polygon1993.bsky.social r3f.maximeheckel.com/vhs

2025 is my year of learning how to make tools for making tools. - I'm learning how to use test driven development in my workflows(helps me understand if I'm understanding the problem/solution space). - Learning how to create self-optimizing prompts (helps me avoid wasting time & tokens)

When the rabbit hole goes deeper than anticipated...

Anyone else closing their IG accounts tonight?

The quality of fast is a measure of intentional imperfections that helps you progress, while the quality of perfection is a measure of unrealized progress.

Started learning about numerical approximation algos 🫢 When games pull off those impossible 60fps visuals with complex lighting & physics, they're often using these clever math shortcuts to get a good enough output (fast, but less precise), rather than exact calculations (slow, more precise).

During this process, I made a bunch of tools: - An algorithm || design pattern comparison & testing tool - A file renaming / tagging tool that can read my code, and can read PDFs (with metadata from Semantic Scholar) - A code summarization + tagging for documentation & source citation

I’m ~20 papers deep into finding the optimal solution for my plane-to-ring interpolation problem. Turns out it’s an awfully complicated thing to achieve. And so many different interpretations and ways to solve it. Thanks to @observablehq.com, @github.com & Semantic Scholar, I’m closer than ever.

I learned about the Finite Element Method 🫢 I’m not gonna add any complex stuff like shape functions, or boundaries… But the “framework” of thinking about breaking a global domain (plane, ring) into smaller local domains (2 planes, 2 half-rings), what is call “discretization”, feels like 🫡

Math over magic.

progress, bit by bit

CodexType w/multi-line working faster now, and I can set a fixed framerate. With a throttle on Three.js I keep the pieces in sync. #webgl #threejs