MMM-PenPlotter -Render mesmerizing line animations on your mirror!
I use both MMM-PenPlotter and MMM-Wallpaper (the jupadin version) and was able to make the images transparent with no black box. You need to edit each of the svg files in the example_svg folder.
Most of the files were updated by adding
in the section with:
<desc>pwidth:500;pheight:500;</desc> <path stroke="#999999" stroke-width="0.2mm" fill="transparent"
There were a couple where background was already defined in the 3rd row of the files so it had to be updated there. Let me know if you need more specifics.
Oh awesome! I am just now seeing this. Let me give it a go!
That did indeed work. Many thanks!
bballboy21 last edited by bballboy21
Find some guilds on making your own SVG animations for your mirror. https://jbamford.github.io/Animate-SVG-Files-Breakdown/
Accepting pull requests with new SVGs to add!
I am interested in attempting to create one, but how do you handle the code when path is formatted as shown below, with spaces and new lines and not having separate paths individually spelled out like what is discsussed in: https://youtu.be/Nz0SzKKdd-A
The code from this screenshot is the bunny, found at: https://drawingbots.net/knowledge/tools/svg-generator
Also, if you use https://sandify.org/ to generate a svg file, how do you figure out the number of paths to update the stroke-dasharray and stroke-dashoffset values in the style section, as the svg file will not have individual paths specified?
If I move the svg file to the example_svg folder on my MM, it just shows to completed picture, and does not actually draw it. I am guessing this is bc the value for both are currently set to 1 (but again not sure how to determine what those values would actually be)
Disregard, I figured it out. I did not realize that the path is effectively a value of 1 if not otherwise specified, thus following the guide on https://jbamford.github.io/Animate-SVG-Files-Breakdown/ and specifying
stroke-dasharray: 1; stroke-dashoffset: 1;
in there respective places in the svg files allows the animation to work.
I can now create as many animated svg files for this module as I like, using https://sandify.org. Awesome!