You are currently viewing Lienzo-core toolkit for Kotlin

Lienzo-core toolkit for Kotlin

This is a framework I have been working on for many years, it’s written in GWT but can be converted to Kotlin. I’m an experienced Kotlin developer but haven’t really tried the JS interop much.

I can port this, if the community thinks it’s useful .

The demo ( Kitchen Sink ) is at Lienzo Kitchen Sink , it’s OLD code, has some Chrome issues. It’s HYPER FAST, based on Canvas, Structured Graphics with Animations and Arbitrary Affine Transforms at every Node level. It can serialize the scene to JSON and reconstituted from JSON, the demo you can see the source code and JSON representation in tabs on each sub-screen. You can reconstruct the scene graph from that JSON. This means you can build scenes with a JSON document. Unfortunately I can’t serialize event interactions. The mathematics in this are intense , some were contributed by the Red Hat jBPM team, especially Dr Mark Proctor, the inventor of the jBPM and CEP Technology before joining Red Hat. He and others from the Red Hat team were major contributors . It can draw hundreds of thousands of Graphics Primitives within the 16.67 ms 60hz refresh rate, batched on requestAnimationFrame(), no point drawing stuff you’ll never see.

The code is here https://github.com/dikalo/lienzo-core Anyone interested in Geometry Mathematics , curve fitting , arbitrary shape intersection , cubic and quadratic spline interpolation , fast polynomial coefficients ( see Pascals Triangle or the work of Edwin Catmull )

This might not be very Advanced now, but the Image Filters are cool, but I made them work on Video in real time, Video Filters

I should easily be able to port this to Kotlin

Any thoughts ?

These are some videos from Michael Anstis at Red Hat using Lienzo for jBPM, and the designer UI. He is drawing tables with multiple thousands of rows, at zoomed or clipped, with almost imperceptible lag on drag and scroll. Videos

Dean S Jones

Principal Engineer , some big bank I am not allowed to speak for as a representative

Mercenary Creators

submitted by /u/Dean_S_Jones
[link] [comments]