My first (underwhelming) steps at creating a visua...
# linking-together
t
My first (underwhelming) steps at creating a visual editor. I find it interesting that it was pretty pleasant designing the underlying data structure for my programs. But mapping that state to UI code in JavaScript requires keeping a lot more state in my head. I guess that's because there's just a lot more state. Not only is there my program state, but there's all the states that each node of the projectional editor could be in.
i
That might also a matter of comfort/familiarity. I find working on graphics/UI/visualization far easier, less concentration-intensive, less mental state laden, than working on other kinds of code. But I've done a lot of graphics work, so it's very second nature to me compared to, say, designing data structure layouts.
t
That's true. It's been years since I've done any frontend stuff.
d
Hi @Tim Swast , do you have your code available in Github?
t
It's here for now: https://github.com/tswast/pikov/tree/json It's a mess. editor/ has the start of the UI. The pikov notebook in the examples folder is where I was experimenting with the file format. Eventually I'll move it to https://github.com/google/pikov but I haven't pushed there since I updated the file format from SQLAlchemy to a JSON graph.