Closed yuanming-hu closed 7 years ago
I was thinking about this.
I discussed with Yucheng(@yczhang89) about the possibility of using a fully web-based GUI, probably using lovecat. Here I briefly summarize the discussion.
Pros:
python
and a browser.Cons:
To link my previous rational: https://github.com/IteratorAdvance/taichi/pull/11#issuecomment-274252255. IMO an important pro missing here is that, lovecat can do more things than a hard-coded UI. With lovecat, we could tune so many scene parameters (among others), which are unknown to taichi beforehand.
Two alternative approaches to handle scene parameters are:
gui.request_parameter('parameter_name')
. This is essentially lovecat, and we could leverage lovecat to do this.I'm building a Flask
based one. Please refer to #66.
It would be good to have an additional browser viewer for rendering/simulation process visualization. Python itself has good HTTP server support and it will help in case people use Taichi for some task via ssh and do not want to enable X11 forwarding.