Better HN
topnewbestaskshowjobs
Log inSign up

ambewas

75 karma · joined May 20, 2017 (9y ago) · 47 submissions

Submissions

comment 1w ago · link · parent

Cool! Glad you're enjoying it.

Small note, if you do end up creating something with it, feel free to submit your project to our "made with klad" page. I'll happily link to whatever it is you end up making

comment 1w ago · link · parent

They have more features, yes, but the architecture of klad is different from the ground up.

I explicitly designed the klad file format to be git compatible, which matters for agents that can easily track changes, but it is also a lightweight format that describes every brush stroke in a drawing rather than recording pixels.

The latter means every single one of the strokes an agent or you make, remains editable even thousands in. You can move every one, change the colour, transform it like a vector... And all the pixel rendering replays for the chunks it was in, in pretty much real time.

This then enables much deeper control for any changes you or an llm want to make, and I think this fundamentally makes klad positioned much better for agents drawing than any existing adobe clone.

I could be wrong about this, of course. Time will tell. For now I have received positive reports from people especially about the editability and consistency that comes with this format

comment 1w ago · link · parent

Klas does not contain a model itself. You steer it with your own LLM. The source code is licensed as source available, meaning you are able to build it from source and use it for your own projects. Commercial use is allowed for smaller companies up till 500k revenue in the past year.

Should all be there in a license file on GitHub!

comment 1w ago · link · parent

No, not yet. But maybe it's something that could be a fit for klad in the future. I think it's a whole thing though.. gotta think it through but I see no reason as to why the klad file format could not support an extra dimension as well... I'll think about it!

comment 1w ago · link · parent

You're welcome! If you end up making something with it, feel free to submit a PR for a "made with klad" section. I'll gladly link to your game

comment 1w ago · link · parent

Yup, that sounds about like the same underlying idea.

I think this is much much more interesting compared to generative ai for images/photos/music/... I'm hoping more and more people will come up with alternatives to traditional software where an agent can actually really help you out, but where you stay in control

comment 1w ago · link · parent

these look really fun! Are they animated as well? You could try that and see how the rigging and/or frame-by-frame animations work

comment 1w ago · link · parent

No browser version unfortunately. It's a pretty heavy thing to do to render thousands of brush strokes and keep them all editable. So it is written in rust, with highly optimized memory management. I don't think a browser app could deliver the necessary performance.

I am still waiting on apple for signing a build, but once I can I will release binaries as well. There's an email list you can sign up on the site, if you're interested to be notified. Once the binary is out, an MCP will be as well. Right now it's a cli and a UI app you can build yourself.

But if you want to try a headless version, just point your favorite LLM to it and ask it to build it in a sandbox

comment 1w ago · link · parent

No problem, it's easy to miss. But the underlying architecture here is each brush stroke is represented as data, like a vector in SVG, but rendered as a pixel brush. That means you can also do other things like smudges, paint blending, etc... Which you can't do with SVG.

The other thing is that this is also a first class drawing app with pen support. So you don't have to use an agent, and you can still profit from the editability. Or start a drawing yourself and have an agent come in later..

comment 1w ago · link · parent

thanks for trying it out! Definitely report back, I'd love to hear where your agent (or you) might struggle with the api/ui.

If there's anything I can add, do let me know.

comment 1w ago · link · parent

Hey thanks so much for putting Klad and Fable through this test!

I think the results are really interesting. I think it's very obvious the classic image-to-video approach yields much more natural results at this time and with the current models.

I think I'm going to do some testing of my own, and see where things can be improved. I do think that the bottleneck at this time, is the model you use itself.

But it's like you say, it's very early days with an LLM expressing its ability to draw/paint. In my own testing, it kind of feels like it did with coding 2 years ago: yeah sure the model is pretty Okay at building a function, but I wouldn't have let it build a whole feature back then.

Nowadays, I'm practically only reading code and thinking about how to refine my instructions for the next build.

I'm sort of betting that this evolution could go the same way for graphics (and possibly audio/midi as well). And I wanted to have a tool ready, to see how it evolves.

comment 1w ago · link · parent

I have not done any benchmarks unfortunately. It really kind of depends on how complex a drawing is.

For example, but rough numbers here,.. the panel poster on the website took about 15 minutes of fable working it out, and the full scene with the creature following a traveler, was also about 10 minutes of ai work.

To me, it feels just about as fast as having a model code up a medium feature for an application. And that doesn't seem too strange, because I'm the end coding is kind of what it's doing with this app.

A benchmark I'd be really interested in, is how an agent would be able to clean up or improve a drawing made with pen tablet by a real artist. I've been focusing so much on the development side though that this is a test I have not been able to do, but I expect it to work really well. Every time I make an edit to a drawing myself, Claude just knows what I did and why.

comment 1w ago · link · parent

I thought of it as well, but have not gone and tried it. The model would have to first redraw the entire thing in Klad I think.

If you try, definitely report back! I'm still figuring out what the best way is for an agent to use this tool

comment 1w ago · link · parent

Nope, you can output an image file. Right now png, but other formats are easy to add.

The underlying engine is not just vectors: a brush stroke is saved as data, and everything is rendered on the fly into pixels. This means that things like smudging and paint blending is possible, all the while being able to edit even the very first stroke you made.

The best mental model I have right now is: it's the editibility of vectors, with the flexibility of a digital paint brush

comment 1w ago · link · parent

I was so incredibly tired of trying to get an actual "usable" result through a generative image model. Its always impressive results, but the fact that they're just pixel blobs, makes them entirely unpractical.

I have no idea how an agent would leave a watermark in Klad. It's got no agent inside, and every mark that an agent made would have possibly been made by a human as well. I guess they would have to really specifically target Klad to be able to make a watermark happen...

comment 1w ago · link · parent

please do, and since it's so early, I am very eager for your feedback!

17.

Show HN: Klad, a paint app your coding agent can drive (source-available)(github.com ↗)

85 points · by ambewas · 1w ago · 34 comments

comment 7mo ago · link · parent

Exactly. It's been around so long and we still don't know how to mimic it.

The way an llm learns is a very interesting way of doing it, but it sure isn't what the brain is doing.

But it's indisputable.. We can get enormous results with this technique. It's just probably not the way forward for faster learning to remediate the issue of context loss.

comment 7mo ago · link · parent

That's exactly the issue. Retraining is too expensive & needs too much iteration to work efficiently I think.

comment 7mo ago · link · parent

Sleep would probably be a part of the equation for consolidating , but there's still the question of how exactly does the brain process the information during sleep in a way that it permanently consolidates the information.

It's not how an llm can work right now, it needs too much iterations & a much bigger dataset than what we can work with. A single time experiencing something and we can remember it. That's orders of magnitude more efficient than an LLM right now can achieve.

comment 7mo ago · link · parent

You're right to be skeptical. Without a way to actually implement how the human brain processes experiences into a consolidated memory, we won't be able to solve the long term memory problem at all. Not with the current technology.

An LLM context is a pretty well extended short term memory, and the trained network is a very nice comprehensive long term memory, but due to the way we currently train these networks, an LLM is just fundamentally not able to "move" these experiences to long term, like a human brain does (through sleep, among others).

Once we can teach a machine to experience something once, and remember it (preferably on a local model, because you wouldn't want a global memory to remember your information), we just cannot solve this problem.

I think this is probably the most interesting field of research right now. Actually understanding in depth how the brain learns, and figuring out a way to build a model that implements this. Because right now, with backtracking and weight adjustments, I just can't see us getting there.

comment 7mo ago · link · parent

in my experience, as long as you set up a decent set of agent definitions & a good skillset, and work in an already pretty clean codebase with established standards, the code quality an agent outputs is actually really good.

Couple that with a self-correcting loop (design->code->PR review->QA review in playwright MCP->back to code etc), orchestrated by a swarm coordinator agent, and the quality increases even further.

comment 7mo ago · link · parent

that would certainly be a very interesting thing to add, but in the current iteration that is not possible.

The biggest issue here is that there's not really "one" microtonal system out there. The entire fretboard of a conventional guitar is mapped to work in 12tet - and the libraries I'm using to do all the musical operations also only supports 12tet.

to accommodate all the microtonal temperaments out there would be a pretty daunting task. But I'm not saying never!

comment 7mo ago · link · parent

still working on https://stringscales.com - fun sideproject to visualize guitar scales on a configurable fretboard, with interactive note highlighting to a backingtrack.

The backingtrack is what I'm actively improving right now. It's just a pad running now, but it will turn into a full track with bass/drums/piano/... and will feature a comprehensive chords based editor so you can add and save your own progressions with a logged in account.

25.

Show HN: Chord progression player with fretboard visualisation(stringscales.com ↗)

1 points · by ambewas · 1y ago · discuss

comment 1y ago · link · parent

I was thinking the same. The author makes a great point when it comes to a portfolio, but most of the work I do is for corporate clients for example. They value efficiency and ease of use (I.e. predictability) of a ui/ux solution over any creative outlet. I don't think I should start doing more of that.. I'll be out of a job pretty fast

comment 1y ago · link · parent

I've relied on Tonal heavily to build stringscales.com - it was a very pleasant experience. Much is already present, and extending the lib with more scales and functionality was easy as well. Definitely recommend

comment 2y ago · link · parent

Oh nice, that looks really cool! How did you get the fretboard to sync up with those songs? Ai or some manual encoding work somehow?

Well done!

comment 2y ago · link · parent

Oh right! I see what you mean. Got it, awesomeme idea: Chord charts like these are as of now a planned feature. Something to look out for in the future.

Thanks for the suggestion!

12