SVG Tech Demo 2 - Created by HoboBen (No Votes)
While only an early release, full source code is provided including the XML Parser for loading SVG files.
| A tech demo for a real-time Scalable Vector Graphics (SVG) engine for the Cobra programming language.
My second attempt. The code is cleaner, the graphics are better, the demo runs faster, the XML is nicer.
While only an early release, full source code is provided including the XML Parser for loading SVG files.
This is only a partial implementation of the SVG spec; only polygons are supported.
Source code included, should be easy enough to read. |  |
Latest Comments
| Posted : Saturday, 04 September 2010, 18:31 |
HoboBen

 
| Update: Added a rope physics demo using the SVG engine to render the rope.
Edit: And an "undersea" demo with deformable SVG seaweed and a SVG shark
If you edit the rope.svg file with notepad you can change the way it looks, e.g. change stroke-width to "1" for an outline, change fill color, etc.
| | Posted : Sunday, 05 September 2010, 01:19 |
Jayenkai

 
| Cool stuff!
|
|