I encourage all to participate in these coding challenges. It is great for practice and learning multiple ways to tackle issues. Please make all submissions compatible with the ZIM editor.
For the first coding challenge can you make an object that follows the cursor but is constrained inside of a container. Here is my pure HTML/JavaScript example.
Extra Points:
Make the container shape a polygon:▲★♥
Add damping / smoothing / delay to the following object.
Fun effects when the object touches the edge of the container or a is on a certain side.
ooo - that runs really smoothly. Often with odd shapes as you drag it stops and does not slide along the odd shape. Ahhh... clever - I see what you have done.
@karelrosseel82 I think you posted the wrong video. But that looks like plinko. That could be our next challenge. We need more people submitting their code.