lablup / backend.ai

Backend.AI is a streamlined, container-based computing cluster platform that hosts popular computing/ML frameworks and diverse programming languages, with pluggable heterogeneous accelerator support including CUDA GPU, ROCm GPU, TPU, IPU and other NPUs.
https://www.backend.ai
GNU Lesser General Public License v3.0
519 stars 153 forks source link

Enhance vector drawing library in sorna-media #6

Closed achimnol closed 4 years ago

achimnol commented 7 years ago

We have a very early implementation of vector drawing library in sorna-media. It allows users to write drawing codes in Python but see the result in the browser in codeonweb.com. Currently we use a home-brew Javascript library that parses msgpack'ed data generated by sorna-media Python library and render shapes using fabric.js.

It currently supports drawing of simple lines, rectangles, circles, and triangles with some color and line widths, and animation by translation, fade in/out, etc.

As long as you keep the compatibility of the user-facing Python API (which of course requires a lot of extension), all implementation details are fully up to you!

achimnol commented 4 years ago

This drawing API is still there, but we no longer use it in our primary product Backend.AI. We will revisit this later when we need it.