preview of a new function i made this is a 3D example using the function if you use this please give credit