pumpkin 3D math method | ScratchStats