If you want to use JS to draw some images and process some dynamic images, such as creating some flowcharts or something, Rapha ë l is a good choice.
From the perspective of copyright information, there is a certain relationship with the famous Sencha (the company that developed Extjs ).
Generally, the download size is 89 KB, and only 31 KB is used after GZIP compression. The size of a version without compression is only 221 KB.
Rapha ë l is a small js library that simplifies web vector graphics development. It can help you create some special icons and rotate effects.
Rapha ë l uses SVG and VML recommended by W3C to create images. This means that the created graphic object can be a DOM object and can be operated by your Javascript events.
Rapha CMDL supports all mainstream browsers: Firefox 3.0 +, Safari 3.0 +, Chrome 5.0 +, Opera 9.5 + d, and Internet Explorer 6.0 +,
The simplest way to use it is to draw a red circle. View code
[Javascript]
<Html>
<Head>
<Script src = "raphael. js"> </script>
</Head>
<Body>
<Script>
Var paper = Raphael (10, 50, 320,200 );
Var circle = paper. circle (50, 40, 10 );
Circle. attr ("fill", "# f00 ");
Circle. attr ("stroke", "# fff ");
</Script>
</Body>
</Html>