Move SVG Shapes
Output Readme Download Replit Sel. & Copy Full


This repl includes a few JavaScript functions that allow you to move shapes from an SVG element.

To view this on TripleLog, click here.


The index.html is generated from other repls and includes SVG elements for the states of Georgia, South Carolina, and North Carolina.


The script.js allows you to select one of the states and then move it. It doesn't handle every possible behavior, but if you don't do anything weird it works. If you want to download the SVG or whatever (or really do anything interesting) then you will need to add more functionality.