The small3d framework