What’s better than a regular stylus you may ask? A wireless stylus that captures your 3D drawings. EpicJefferson has shared a guide that shows you how to build such a tool. This Wireless 3D Drawing Stylus offers motion tracking. You are going to need a Lightblue Bean, 140 mAh battery, and a few other parts to get started.
As the developer explains, to track the stylus, you are going to need a motion capture system like Optitrack. You can find out more about the project on Instructables.