Folioid
A polar curve that generalizes the rose curves through an eccentricity parameter e.
History and Applications
The folioid curve was first studied by the Dutch mathematician P. van Geer in 1918 and subsequently discussed by Gino Loria.1 This polar curve forms a versatile family that generalizes the rose curves through an eccentricity parameter e. When e = 1, the folioid reduces directly to a rose curve. For e < 1 the lobes are less indented, while e > 1 produces multiple separate closed loops, the number depending on whether n = p/q has odd or even numerator and denominator. The “Extended” mode treats the square root term by a signed real continuation, converting negative radicands into reflected real values; this causes the otherwise imaginary branches to appear as additional real petals, yielding fully closed rosette forms for artistic purposes. The total angular span required for full closure in Extended mode is governed by θclose ≈ (2q2/p)·(π/arcsin(1/e)), where θclose is measured in multiples of π. With the default sampling of 180 segments per π, the predicted segment count is segments ≈ 180·θclose/π.
In the natural sciences, folioid-shaped projections have been employed in the study of phyllotaxis, the arrangement of leaves, petals, and florets on plant stems. Botanists model the shoot apical meristem as a cone and project primordia onto the transverse plane, yielding folioid outlines that help explain self-organizing spiral patterns observed in plants.2 No applications in engineering were identified in available sources.
References
- https://mathcurve.com/courbes2d.gb/folioide/folioide.shtml (history, polar equation, properties, special cases for e, and geometric construction).
- https://pdodds.w3.uvm.edu/files/papers/others/1996/douady1996a.pdf (phyllotaxis application of folioid projection on conical apex).
AutoLISP Code
(defun C:FOLIOID (/ basept xaxisangle cd sa sb sm om os divcount cosangle sinangle x0 y0 plineents segcount baseinfo paramstep divpt restartflag
id iq dcl opt kw mode dpr dct dpt span rval xc yc skm a1 a2 x1 y1 x2 y2 eq_display fa fb fc fd fe ff fg fh fi fj fk kw)
(setq id "Folioid"
iq "r=a·(e·cos(nθ)±√(1-e²·sin²(nθ)))"
dcl "FOLIOID"
opt '("e<1" "e=1, Rose" "e>1")
kw 0
mode 'polar
dpr "# of divisions around circle"
dct 360
dpt nil
span 360
kw (ca id iq dcl opt kw mode dpr dct dpt span))
(cond
((eq kw 0)
(setq fa (get_real 6 "\na (scale): " 1.0)
fb (get_boundr 2 "\ne (<1, smaller = less indented): " 0.5 0.0 1.0 nil nil)
fc (get_real 6 "\nn (# of petals): " 3.0)
fd 1
eq_display (strcat "\na=" (rtos fa 2 4) ", e=" (rtos fb 2 4) ", n=" (rtos fc 2 4))
rval '(* fa (+ (* fb (cos (* fc (eval a2)))) (alt_expt (- 1.0 (* fb fb (sin (* fc (eval a2))) (sin (* fc (eval a2))))) 0.5 nil)))
a1 0))
((eq kw 1)
(setq fa (get_real 6 "\na (scale): " 1.0)
fc (get_real 6 "\nn (# of petals): " 3.0)
fd 1
eq_display (strcat "\na=" (rtos fa 2 4) ", e=1, n=" (rtos fc 2 4))
rval '(* 2.0 fa (cos (* fc (eval a2))))
a1 0))
((eq kw 2)
(setq fa (get_real 6 "\na (scale): " 1.0)
fb (get_boundr 2 "\ne (>1, pushes lobes farther out): " 2.0 1.0 nil nil nil)
fc (get_integer 6 "\np (integer numerator, n lobes = p/q): " 3)
fd (get_integer 6 "\nq (integer denominator, n lobes = p/q): " 1)
fe (get_keyword 0 "Canonical Extended" "\n Canonical or Extended θ-span mode? " "Canonical")
ff (if (= fe "Canonical") (get_keyword 0 "Plus Minus" "\nPlus or Minus branch? " "Plus") "Plus")
fg (asin (/ 1.0 fb))
fh (/ (float fc) fd)
fi (if (= fe "Canonical") (* fg (/ (float fd) fc)) (* fg fh))
paramstep (/ (* 2.0 fi) divcount)
a1 (- fi)
eq_display (strcat "\na=" (rtos fa 2 4) ", e=" (rtos fb 2 4) ", p=" (itoa fc) ", q=" (itoa fd))
rval (if (= ff "Plus") '(* fa (+ (* fb (cos (* fh (eval a2)))) (if (< (abs (- 1.0 (* fb fb (sin (* fh (eval a2))) (sin (* fh (eval a2)))))) 1e-5)
0.0 (alt_expt (- 1.0 (* fb fb (sin (* fh (eval a2))) (sin (* fh (eval a2))))) 0.5 nil)))) '(* fa (- (* fb (cos (* fh (eval a2)))) (if (<
(abs (- 1.0 (* fb fb (sin (* fh (eval a2))) (sin (* fh (eval a2)))))) 1e-5) 0.0 (alt_expt (- 1.0 (* fb fb (sin (* fh (eval a2))) (sin (* fh
(eval a2))))) 0.5 nil))))))))
(setq xc '(* (eval rval) (cos (eval a2)))
yc '(* (eval rval) (sin (eval a2)))
skm '(T T T)
a2 a1
x1 (eval xc)
y1 (eval yc)
a2 '(+ a1 paramstep)
x2 '(eval xc)
y2 '(eval yc))
(cc)
(setq fj (gcd fc fd)
fc (/ fc fj)
fd (/ fd fj))
(setq fk (if (and (= 1 (rem fc 2)) (= 1 (rem fd 2))) fc (* 2 fc)))
(if (and (eq kw 2) (eq fe "Canonical")) (command "ARRAY" plineents "" "P" basept fk "" "")) (princ))
(C:FOLIOID)