TagCanvas 2.3

Published

It has been a long time since I last released a new version of TagCanvas. That must mean that there are a shedload of updates and improvements in this version, right? Well, no. There are two new functions, an extra option added to some old functions and a simple bug fixed.

The new functions are SetSpeed and Delete. SetSpeed actually sets the speed and direction of the cloud movement using the same array of [x, y] values used for the initial option. The example cloud above has some buttons and a slider underneath that demonstrate what it can do. (Unless you are using Internet Explorer, where the range input will just be an ugly, useless bar. The TagCanvas SetSpeed function works fine in IE; the <input type=range> slider and input events do not.)

The Delete function is really only useful when dynamically adding TagCanvas clouds to a page and removing them again. It cleans up the instance of the TagCanvas class that refers to the canvas element, allowing its ID to be reused for another cloud. It doesn't remove the canvas element itself though, so you will have to do that yourself.

The extra option I mentioned is for the TagToFront and RotateTag functions, and when enabled it highlights the selected tag while the cloud is being moved ot its new position. This is used by the clickToFront option, but disabled by default for the rotation functions. Click on a tag in the example above to see it in action.

The only bug fixed in this version is one that made the Update function fail to update the weight of existing tags. I don't mean that was the only bug I could be bothered to fix - it's the only one that has been reported to me lately.

The new version is available from the TagCanvas page, or from GitHub if you prefer it that way.

« Previous: JPEG Saver 4.12 Next: SVGGraph 2.15.1 »

This site uses cookies - details here.