Best javascript structure for drawing / displaying images?

What is the best javascript structure for drawing (lines, whatnot curves) on images?

+3
source share
5 answers

jQuery has several plugins available for working with graphics. Raphael is a plugin that uses SVG (for Firefox and other browsers that support SVG), and VML for IE products. In addition, jQuery provides a great architecture for javascript projects with lots of support and plugins.

Raphael is available here: http://raphaeljs.com/index.html

jQuery is available here: http://jquery.com/

+3
source

Processing

var p = Processing(CanvasElement);
p.size(100, 100);
p.background(0);
p.fill(255);
p.ellipse(50, 50, 50, 50);
+1
source

.

+1
source

You can create β€œimages” using the javascript fleet library.

It is on google code: flot
and requires jQuery

Here is an example of what the chart looks like.

0
source

Source: https://habr.com/ru/post/1697266/


All Articles