News for hackers. Stuff that matters.
Re:Show HN: I made first declaritive SVG,canvas framework by isodev on Sunday June 16, 2024 @03:28AM (#40695324)
Very cool! D3s have always been hard to make. This is excellent.

> Why Did We Copy Flutter? Because Even Google’s Castoffs Produce Greatness!

haha indeed, flutter had some amazing insights into syntax and state management so it’s cool to see some of these finding new life.

Re:Show HN: I made first declaritive SVG,canvas framework by viraptor on Sunday June 16, 2024 @06:44AM (#40696073)
That's exactly my thought. D3 is great, but just doesn't mesh with my brain. I have to relearn it every time and it takes stupid amount of effort. I'll try this next.

For even simpler declarative diagrams I'm a fan of Vega http://vega.github.io/

Re:Show HN: I made first declaritive SVG,canvas framework by acomjean on Sunday June 16, 2024 @11:56AM (#40697959)
We use the slightly simpler vega-lite from the same group. It typically gets us most of the way there quite quickly. Downloads as svg and png is great.

They always ask for something out of scope and you have to dig a little through the docs (can we have long labels for our x axis, how about 60 categories for a scatter plot..). /rant. We haven't hit anything that couldn't be done though.

Its from the same team, just a more simple wrapper around D3.

https://vega.github.io/vega-lite/

Re:Show HN: I made first declaritive SVG,canvas framework by ulrischa on Sunday June 16, 2024 @04:48AM (#40695640)
Very cool. But why a special syntax? Would be nice to use css for styling
Re:Show HN: I made first declaritive SVG,canvas framework by tmdeoans on Sunday June 16, 2024 @06:28PM (#40700649)
thanks for suggestion. but css is not usable when I handle canvas
Re:Show HN: I made first declaritive SVG,canvas framework by ricardobeat on Sunday June 16, 2024 @05:42AM (#40695850)
Are there any examples to play with? The carousel in the page doesn’t have any links.

(if the title can still be edited, I would suggest “I’ve made a declarative SVG & Canvas framework”, don’t think it has a claim to be the first)

Re:Show HN: I made first declaritive SVG,canvas framework by tmdeoans on Sunday June 16, 2024 @06:30PM (#40700664)
https:://easyrd.dev

<-- it's the diagram example made of flitter (this is sideproject and reference is dbdiagram)

Re:Show HN: I made first declaritive SVG,canvas framework by your_challenger on Sunday June 16, 2024 @07:34AM (#40696292)
Love the dig at Flutter
Re:Show HN: I made first declaritive SVG,canvas framework by emigrantdd on Sunday June 16, 2024 @09:38AM (#40696973)
it's actually very interesting and very simmular, I'm a flutter developer. For me looks very interesting actually
Re:Show HN: I made first declaritive SVG,canvas framework by tmdeoans on Sunday June 16, 2024 @06:35PM (#40700681)
If you have any question. feel free to join discord: https://discord.gg/kUZp4SaHzF
Re:Show HN: I made first declaritive SVG,canvas framework by ComputerGuru on Sunday June 16, 2024 @09:40AM (#40696997)
FYI s/declaritive/declarative/ if you can still edit it.
Re:Show HN: I made first declaritive SVG,canvas framework by tomgp on Sunday June 16, 2024 @12:21PM (#40698178)
This looks interesting but I’m pretty sure it’s not the first declarative charting tool. (Eg Vega https://vega.github.io/vega/)
Re:Show HN: I made first declaritive SVG,canvas framework by tmdeoans on Sunday June 16, 2024 @06:39PM (#40700700)
I wanted to leave a comment here to say thank you. Surprisingly, creating charts in JSON format was one of the first ideas that came to mind when I was developing with Flitter, but it seems it already existed.
Re:Show HN: I made first declaritive SVG,canvas framework by alexanderson on Monday June 17, 2024 @12:21PM (#40707395)
This website looks like a blatant ripoff of the design of the Remix website. https://remix.run