Log In  

Cart [#wozupuruze-0#] | Code | 2019-06-01 | License: CC4-BY-NC-SA | Embed
13

Draw SVG

This is a tool do display vectorial drawings in PICO-8. It's useful for logos and big curved shapes that can't fit in memory as regular sprites. Also, you can zoom on those drawings at will.

CONTROLS:

Arrows: move around
Z/X: zoom in/out

HOW TO CONVERT SVG FILES TO PICO-8:

Simply use converter tool at:
http://www.txori.com/index.php?static14/pico8
The first number of each vector is the color of that vector.

RELEASE HISTORY:

v1.1
SVG draw engine entirely rewritten
30fps!

v1.0
Initial release

-
Find more stuff at www.txori.com

P#45150 2017-10-12 18:16 ( Edited 2019-06-01 16:14)

Whoa. Nice work!

P#45153 2017-10-12 19:48 ( Edited 2017-10-12 23:48)

This is very cool - I'm sure this will come in handy.
Thanks for sharing! :D

P#45167 2017-10-13 01:08 ( Edited 2017-10-13 05:08)
:: Txori

Thanks :)

I wrote a simple convertion tool to prepare your SVG paths for PICO-8:

http://www.txori.com/index.php?static14/pico8

P#45177 2017-10-13 13:41 ( Edited 2017-10-13 17:43)
:: Txori

Today I woke up with the need to update Draw SVG:

I entirely rewrote the draw engine. Thanks for the explanations from http://www.f-legrand.fr/scidoc/docmml/graphie/geometrie/bezier/bezier.html
Now it runs at a full 30fps (instead of ~2fps before).

Also I fused the svg and colors arrays so if you use my online tool to convert a svg to pico-8, the first number in the obtained array will be the color of your path. Just change it to what you want.

Online tool to convert SVG: http://www.txori.com/index.php?static14

Finaly, you can change the level of details (lod) number to adapt to your own svg.

Post your vectorial drawings here :)

P#64918 2019-06-01 16:10

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-08-24 01:16 | 0.020s | 4194k | Q:29