~ / cmdr2

projects: freebird, easy diffusion

hacks: carbon editor, torchruntime, findstarlink

  • #tkinter
  • #ui

Spent some time playing with Tkinter, and building a real desktop app with it. It’s pretty specific to my needs, but is open to customization by others. Building UIs with Tkinter was interesting (not frustrating), and it feels almost-there-but-not-quite-there. I still think that HTML/CSS/JS is the best API out there for UI (the good parts), but Tkinter’s mental model and API is quite nice too. Fairly intuitive.

  • #easydiffusion
  • #ui
  • #v4

// Cross-posted from Easy Diffusion’s blog. Spent a few days prototyping a UI for Easy Diffusion v4. Files are at this repo. The main focus was to get a simple but pluggable UI, that was backed by a reactive data model, and to allow splitting the codebase into individual components (with their own files). And require only a text editor and a browser to develop, i.e. no compilation or nodejs-based developer experiences.

  • #vr
  • #ui
  • #freebird

// Cross-posted from Freebird’s blog. Really need to figure out a way to render standard HTML elements (styled with CSS and modified with JS) in a 3D scene. Reinventing excellent libraries like PrimeVue again inside 3D (for rendering in VR) is just wasteful. There have been attempts, e.g. A-Frame, but we really need to view the webpage in 3D. Just regular HTML elements. The regular DOM renderer. The pieces feel like they’re there conceptually, but the implementation gap is probably big enough (that it hasn’t happened yet).

  • #easydiffusion
  • #v4
  • #ui

// Cross-posted from Easy Diffusion’s blog. Notes on two directions for ED4’s UI that I’m unlikely to continue on. One is to start a desktop app with a full-screen webview (for the app UI). The other is writing the tabbed browser-like shell of ED4 in a compiled language (like Go or C++) and loading the contents of the tabs as regular webpages (by using webviews). So it would load URLs like http://localhost:9000/ui/image_editor and http://localhost:9000/ui/settings etc.

  • #easydiffusion
  • #ui
  • #design
  • #v4

// Cross-posted from Easy Diffusion’s blog. Worked on a few UI design ideas for Easy Diffusion v4. I’ve uploaded the work-in-progress mockups at https://github.com/easydiffusion/files. So far, I’ve mocked out the design for the outer skeleton. That is, the new tabbed interface, the status bar, and the unified main menu. I also worked on how they would look like on mobile devices. It gives me a rough idea of the Vue components that would need to be written, and the surface area that plugins can impact. For e.g. plugins can add a new menu entry only in the Plugins sub-menu.