r/programmer • • 10h ago

Question does anyone knows how figma-like applications translate the design into code ?

I'm creating a tool in which you design a line following robot car and then you get the code behind the design that will let it work in real life.

the closest thing to how this would be achievable is by letting the user design the car and then translate it to XAML code and then extract the raw c++ code.

now I don't know how to create any of that, though I created a lot of windows applications, but not this far of complexity.

what to learn, what is the path I'm walking on ?

1 Upvotes

2 comments sorted by

1

u/an_ennui 10h ago

people have been trying to do this for the entire history of the internet. figma, canva, webflow, wix, and framer all have some version of this. 

the very start of your journey begins with one acronym: WYSIWYG

1

u/Garland_Key 58m ago

Figcraft is FOSS. Go get n GitHub and look at the repo.