Finding a self-intersection points of a Rose -Curve (Polyline approximation). 1

[size=85] In this applet, the[url=https://en.wikipedia.org/wiki/Rose_(mathematics)] rose curves [/url]are considered.[br]The self-intersection points of the curve are approximated as intersection points of separate polylines whose points are partition points of the original curve. Each polyline has the same number of points. The following problems occur. [br]1. Sometimes the intersection of the polylines is not at the self-intersection of the curve, and you have to search for it separately or change the number of points in the polylines.[br]2. When selecting a curve parameter, it should not "go over itself". This leads to "many" self-intersections. [br]3. Numerical calculations lead to the appearance of many nearby intersections. Their filtering was done by the [url=https://www.geogebra.org/m/jktbxyec]applet[/url] method.[br] The intersection objects are not defined in the algebra, but in the applet script. The applet loads faster and all changes are easily implemented. [br] Unlike the work of an applet downloaded to a desktop computer, here you have to wait a few minutes for the script to work.[/size][br]
Finding the points of self-intersection for the Rose curve at n = 4 and d = 7
[size=85]a. The original curve is for n=2 and d=7.[br]b. It is divided into f+1 points.[br]c. Make polylines from these points, each with n0 points.[br]d. The intersections of these polylines approximate the self-intersections of the curve. Sometimes the intersection of the polylines falls on a self-intersection point of the curve and it is necessary to find them separately or to choose other n0.[br]e. Curve with self-intersection points.[br]f. Curve with self-intersection points at 100% opacity.[/size]
Table of images of the rose curve for some parameters:
[size=85] [url=https://en.wikipedia.org/wiki/Rose_(mathematics)]https://en.wikipedia.org/wiki/Rose_(mathematics)[/url][/size]

Information: Finding a self-intersection points of a Rose -Curve (Polyline approximation). 1