Desmos expression to babylon curve code


I’m having a little coding difficulty porting a desmos expression to a babylon curve. Perhaps somehere here can help.

Here’s my WIP

Here’s the desmos chart

Changing tau in babylon causes curve breaks close to the x axis. However, those break do not show on desmos.

Any advice would be welcomed.

I had read somewhere that Math.pow and ** are not the same at runtime. Perhaps that’s it.

you most use Radian i guess in Tan

1 Like

Good catch! Thanks! :slight_smile: