Forum > Third party

Rendering SVG Documents in realtime in less than 160 lines of code

(1/1)

sysrpl:
It took me about 24 hours to design and write an SVG parser and rendering system from scratch. You can check it out on this page:

https://www.getlazarus.org/videos/physics/svg/

The source code for the rendering is only 156 lines of Pascal code, Most of the work is done by the parser. It even handles stylesheets inside SVG documents.

ChrisR:
Very elegant. Is there a Github repository for the project demonstrated in the video?

sysrpl:
@ChrisR

Thank you for replying. I would have posted this library to a git server with a GPL or other FOSS license, but I can't stop adding features such as this SVG document and renderer. I will be posted them soon though. In the meantime, if you have any questions or feedback I'd appreciate the interaction. Any help would ensure I am converting all the bases.

If you hadn't seen it I also posted these pages related to the same library. Feel free to look and leave comments or suggestions.

https://www.getlazarus.org/videos/physics/asteroids/

https://www.getlazarus.org/videos/physics/catapult/

Navigation

[0] Message Index

Go to full version