OpenSCAD function to articulate any extruded 2d art. I have added a few examples incl. a bat, fish, shark & dragon. I found (aka plagiarized, sorry) the dragon clip art somewhere on the internet. Just adjust the position & angle and subtract it from the model. The code is not particularly cleaned up, use it at your peril. Note the gcode is for a Prusa Mini with a Bondtech extruder.
The author hasn't provided the model origin yet.