OMG! FEATURED!! THANK YOU ST, AND WHOEVER PROPOSED IT!
CODE WRITTEN MYSELF, BASED UPON HTTPS://WWW.YOUTUBE.COM/WATCH?V=QLFH_RV6KHY
MOVE YOUR MOUSE AROUND, AND THE CREATURE WILL FOLLOW IT.
TRY ADJUSTING MAXIMUM BEND, 15 IS PRETTY GOOD (MAXIMUM BEND IS THE MAXIMUM ANGLE THAT THE ANGLE AT ALL SNAKE SEGMENT CONNECTION POINTS WILL DEVIATE FROM A STRAIGHT LINE )
FEEL FREE TO REMIX THIS AND ADD STUFF TO IT (WATCH THE VIDEO LINKED ABOVE, IT COULD GIVE YOU SOME IDEAS ON HOW TO IMPROVE IT)
SORRY ABOUT THE COMPLEX CODE :( ASK ME IN THE COMMENTS IF YOU NEED HELP UNDERSTANDING IT (MAYBE SAY "HELP!!!!!!!!!!" SO I SEE IT IN MY BARRAGE OF MESSAGES)
IF YOU LIKED THIS, YOU MIGHT WANT TO CHECK OUT @3THEHEDGEHOGCODER3'S PROJECTS, AS WELL AS THESE:
A VARIATION OF THIS MADE BY @RICKY-JAN:
HTTPS://SCRATCH.MIT.EDU/PROJECTS/1047343450/
A STICK-BASED PHYSICS SIMULATION BASED ON A SIMILAR TECNIQUE USED HERE:
HTTPS://SCRATCH.MIT.EDU/PROJECTS/797587118/
A BALL PHYSICS SIMULATION USING THE SAME TECNIQUE AS ABOVE:
HTTPS://SCRATCH.MIT.EDU/PROJECTS/805990968/
A FUN GAME I MADE: HTTPS://SCRATCH.MIT.EDU/PROJECTS/1046184808/
BEND CONSTRAINING CODE COULD BE A BIT BETTER, MAYBE I COULD JUST MAKE IT SLOWLY NUDGE/INTERPOLATE IT INSTEAD OF CORRECTING IT ALL AT ONCE SO IT DOESN'T SEEM TO JUMPY. OR MAYBE I COULD JUST ADD SOMETHING SO THE CREATURE BEHAVES A BIT MORE STIFF - MIGHT WORK BETTER WITH AN APPROXIMATIVE INVERSE KINEMATICS METHOD (THE ALGORITHM I'VE USED FOR OTHER INVERSE KINEMATICS PROJECTS) THOUGH.
THUMBNAIL WAS MADE IN ILLUSTRATOR WITH THE FONT HELVETICA NEUE, THE SAME ONE THAT SCRATCH USES.