membrane 2021-02-08

Hi @smith.adriane membrane seems very cool, thanks for the work on it! I just discovered it and am still getting familiar with the API and realize it's a work in progress. Do you eventually plan to support a wider range of shapes in membrane.ui? Specifically I need circles for a visualization I'm working on. It isn't really a UI but an animated visualization, but I think membrane looks like might be useful anyway as a clojurey canvas api?

@jjttjj, The short answer is yes. It's possible to extend all of the backends to new shapes, but I plan to include at least all of the "primitive" views. Which platform(s) are you interested in? It would be easy to add circles in the next day or so.

Cool, I actually just figured out I can reify(or extend) IDraw to accomplish this for any shape, which is meeting my needs right now. I'm using Skija

👍 1

There are still some rough edges, so don't hesitate to ask if you run into any issues.

Will there eventaully be something like a with-origin function to enable things to be positioned? For example if I want to put a label at the coordinates (100, 100)

use membrane.ui/translate