Lienzo 1.0: A Scene Graph API In Java For The HTML5 Canvas

| by Kostis Kapelonis Follow 0 Followers on Jan 25, 2013. Estimated reading time: 1 minute |

Emitrom, a company providing custom enterprise software application services, has recently released Lienzo 1.0 GA under the Apache Licence. Lienzo is a GWT library that implements a structured graphic toolkit in Java using the HTML5 Canvas as a back end. Lienzo builds upon the existing Canvas support of GWT (see demo) by offering a more advanced Java API geared towards rich animations, games, image processing etc.

Lienzo 1.0 offers the following graphic functions

There is a live demo showing several examples (some animated as well) along with their source code.

The Canvas element of HTML 5 is typically scripted in JavaScript using a very low level set of methods that manage the GUI in immediate mode. The basic Java API offered by GWT is just a thin layer over the JavaScript API, so it is still low level for most Enterprise developers. Emitrom extends this basic API into a full Scene Graph managed in retained mode. This makes possible all the advanced features (such as animations) outlined above.

Lienzo can be extended to support other shapes apart from those already included. Emitrom also exposes the core Context2D Object that offers direct access to the low level methods of the HTML5 canvas. It is therefore possible to develop functionality that is not included in Lienzo by default or even easily port native JavaScript code from existing Canvas applications for those who need this capability.

Finally with the addition of extra libraries offered by Emitrom, Lienzo can also run on iOS, or on the desktop via Adobe Air, further enhancing the cross-platform development idea introduced by Flash4j.

For more information, see the User Manual and Javadocs. Commercial support options are also available.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Cool by Dimitry Oslov

Nice bunch of products.

Re: Cool by Nurali Virani

Yup .. Kool .. :)
Use below link to see demo.

Re: Cool by Ivan L

Source code tab is broken, the examples look very nice though, good work.

Re: Cool by David La Motta

We recently moved from svn to git, so we're in the process of updating the explorer's source tabs. We should have this resolved in the next couple of days.

Also, 1.1 is right around the corner. You can either join Emitrom's G+ community ( or follow us on Twitter @emitromtweets to get the latest announcements.


Re: Cool by David La Motta

In case you didn't catch the announcement, Lienzo 1.1 is now available. We've got some new things in the API, and the explorer source now works.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

5 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you