yutannihilation / wgpugd

A WebGPU Graphics Device for R
https://yutannihilation.github.io/wgpugd/
Other
45 stars 3 forks source link

Interactive window #4

Open yutannihilation opened 2 years ago

yutannihilation commented 2 years ago

winit, or HTTP server like httpgd. Considering the usage on RStudio, probably the latter is better? Or both?

yutannihilation commented 2 years ago

If I support interactive features, probably it should be winit to capture various events (e.g. clicks and key strokes). As winit claims the main thread (and probably it's the right way), probably I need to implement a dedicated graphics device server that can be launched standalone. Probably it's inefficient to send data between process rather than sharing it directly with R, but it's acceptable.