Re: [Inkscape-user] Web design using Inkscape.
I build a webapp ( runs on our product, not on the 'net) that uses a very large Inkscape SVG in a dynamic AJAX setup that makes images of LEDs blink and animates boards moving in and out of a chassis.
I'm no SVG expert but I have got some things working. Can I help?
On 04/11/2013 07:50 AM, archil@...3010... wrote:
------------------------------ Message: 2 Date: Wed, 10 Apr 2013 15:49:39 -0400 From: john Culleton <John@...1668... <mailto:John@...1668...>>
Does anyone here care to post the url of a site using Inkscape, either for main pages or for embedded svg images in an html page?
-- John Fisher Znyx Networks
On Thu, 11 Apr 2013 10:29:16 -0700 John Fisher <john.fisher@...3014...> wrote:
I build a webapp ( runs on our product, not on the 'net) that uses a very large Inkscape SVG in a dynamic AJAX setup that makes images of LEDs blink and animates boards moving in and out of a chassis.
I'm no SVG expert but I have got some things working. Can I help?
On 04/11/2013 07:50 AM, archil@...3010... wrote:
------------------------------ Message: 2 Date: Wed, 10 Apr 2013 15:49:39 -0400 From: john Culleton <John@...1668...
Does anyone here care to post the url of a site using Inkscape, either for main pages or for embedded svg images in an html page?
-- John Fisher Znyx Networks
Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Can you share the svg file? Your copyright respected of course.
No, else I'd just put it up for viewing. heres is a screenshot: http://jawfish.net/images/Screenshot-webapp-disguised.png
The important thing is that very complex SVG drawing can be rendered fast enough, and you can then animate the parts. Also it scales beautifully.
In my drawing there is a typical computer blade server chassis with six slots. Each slot has three optional drawings of differing boards, and a blank plate. Plus the power supplies and fan trays, plus two Ethernet switches. Each element (board, fan, switch, power supply) has a status and the app can change the look to match the status. There are something like 100 LEDs to manage
Gotcha: doesn't work in IE at all, use recent Chrome or FF to view SVGs.
On 04/11/2013 12:05 PM, john Culleton wrote:
Can you share the svg file? Your copyright respected of course.
-- John Fisher Znyx Networks
archil@...3010... wrote:
Personally, I've made a home page of gvirabi.com in Inkscape. I rendered
it in PNG
for reducing the size. I don't think it's a good idea to include the SVG
file in
HTML unless you have some interactive SVG content.
But, aside some possible Internet Explorer compatibility problems, *why* do you think is a good idea?
Regarding the file size optimization, I see your SVG is 19 KB while the PNG us 433 KB, using SVG would make for a way smaller total page size.
On Mon, Apr 15, 2013 at 10:59 AM, Nicu Buculei <nicu_gfx@...2342...> wrote:
archil@...3010... wrote:
Personally, I've made a home page of gvirabi.com in Inkscape. I rendered
it in PNG
for reducing the size. I don't think it's a good idea to include the SVG
file in
HTML unless you have some interactive SVG content.
But, aside some possible Internet Explorer compatibility problems, *why* do you think is a good idea?
Regarding the file size optimization, I see your SVG is 19 KB while the PNG us 433 KB, using SVG would make for a way smaller total page size.
-- nicu :: http://photoblog.nicubunu.ro/
With IE9, microsoft has implemented a basic SVG set: http://msdn.microsoft.com/en-ca/ie/hh410107.aspx
I suspect it was rendered to PNG not for size constraints but computing constraints, looking at gvirabi, there's a fairly large circular gradient, with some machines that may cause a problem.
I could be wrong though.
-Chris
participants (5)
-
unknown@example.com
-
Chris Tooley
-
john Culleton
-
John Fisher
-
Nicu Buculei