To make a basic rock tumbler, all you really need to do is rotate ... Pulsing the electromagnet pulls down the large 3D printed spring, which imparts not only the vertical motion you’d expect ...
If you’re reading Hackaday, there’s a good chance you had a rock tumbler in your younger days. Hell, we’d put odds on a few of you having one rumbling away in the background as you read this.