Paintcode and Snap SVG
问题 I am trying to bridge examples from Paintcode and Snap SVG. Here is a simple project that has the gears that spin when a slider is dragged. This is great but I would like to do the interaction with the mouse instead. This is an example of the gears as svg: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width