Skip to content

inline real-time interactive remote guis in jupyter via jupyter_rfb

Notifications You must be signed in to change notification settings

mlaugharn/nbgui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbgui

embed a live interactive gui in jupyter notebooks

uses jupyter_rfb, pyglet, and imgui

  • rendering:
    • gui is rendered in a hidden window
    • window pixels are placed into a numpy array as a remote framebuffer
    • jupyter-rfb streams the remote framebuffer to the browser's jupyter notebook session in realtime
  • ui events:
    • user does some io with the jupyter-rfb widget
    • jupyter-rfb signals the widget io events back to the python script
    • we translate the jupyter-rfb events + coordinates back into a compatible format and then pass them forward to dear imgui
  • can use the entire dear imgui ecosystem for ui components + building the gui logic
  • the widget is resizable by dragging the lower right corner
image

About

inline real-time interactive remote guis in jupyter via jupyter_rfb

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published