I was looking at the broken XML for this topic and I discovered that variable watchers have a little color="r,g,b" field. I tried changing the colours, but it doesn’t seem to work. However, I then experimented with built-in watchers like “mouse X” and discovered that you can change the colour on them. I also discovered that there are two primitives (that don’t have any inputs) which can have watchers in spite of the UI not allowing it: pen trails and position (in motion). So, without further ado, here the craziness is.
Warning: XML editing can break your project. Never do so on a project you care about without backups. Additionally, unintended “features” such as this one may be removed and/or changed in the future, and such changes may break existing edited projects.
Can you use transparency with it?
I haven’t tried, but it doesn’t have a transparency argument by default, so I doubt it’ll work…
no idea how to edit it for xml, but in javascript the Color class has a fourth argument for alpha (0-1) so try that
new Color(/*red 0-255*/, /*green 0-255*/, /*blue 0-255*/, /*alpha 0-1*/)
I remember you being able to add a transparency variable for a category color in the XML, so it may work.
You are absolutely right! I’ve just updated the project to include a transparent background for the pen trails watcher (as you may notice, it takes the colour of the watcher beneath it, that is light grey).
Edit: For whatever reason it isn’t saving… Oh, I get it. Snap won’t serialize the project into XML with the new transparency property. So I can’t get the file with the transparency argument onto the cloud to share.