Check if point lies within 2D Implicit Function

126 Views Asked by At

For a part of a project I am working on, I want to fill a shape defined by a 2D implicit function with evenly spaced points.

To do this, I've realised that I will need some way of knowing if the point in question lies within the area specified by the function.

The function is:

$$3\sin(2x)\cos(\frac{1}{2}y^2) = -x^2 - y^2+15$$

This looks like the following: https://www.desmos.com/calculator/eh2pcgxq4x

Any help or assistance would be much appreciated :)