@@ -1676,6 +1676,46 @@ Draws a vector (line segment with arrow head)
16761676 byref modified unsigned byte array
16771677
16781678
1679+ ### [ ` duffingattractor ` ] ( #duffingattractor )
1680+
1681+ ``` py
1682+ def duffingattractor (x : int , y : int , bits : int , a : float , b : float , w : float , dt : float , n : int ):
1683+ ```
1684+
1685+ Draws a Peter de Jong Attractor
1686+
1687+ Args:
1688+ x, y : int dimensions of bmp
1689+ bits : int bit depth
1690+ a, b, w : float coefficients
1691+ dt : time interval
1692+ n: number of terms to compute
1693+
1694+ Returns:
1695+ byref unsigned byte array
1696+
1697+
1698+ ### [ ` duffingattractorlist ` ] ( #duffingattractorlist )
1699+
1700+ ``` py
1701+ def duffingattractorlist (x : float = 0 , y : float = 0 , t : float = 0 , dt : float = 0.01 , a : float = 0.25 , b : float = 0.3 , w : float = 1.0 , n : int = 25000 ) -> list[list[float , float ]]:
1702+ ```
1703+
1704+ Returns list of [ x,y] coordinate pairs for a
1705+ Duffing Attractor
1706+
1707+ Args:
1708+ x, y: float starting coordinates
1709+ t: float start time
1710+ dt: float time interval
1711+ a, b, w: float coefficients
1712+ n: number of terms to compute
1713+
1714+ Returns:
1715+ list of x,y pairs for a Duffing Attractor
1716+ [x: float, y: float]
1717+
1718+
16791719### [ ` eggcurvevert ` ] ( #eggcurvevert )
16801720
16811721``` py
@@ -12372,6 +12412,27 @@ Saves a Cos(z) Julia Set to a file
1237212412 a bitmap file
1237312413
1237412414
12415+ ### [ ` saveduffingattractor2file ` ] ( #saveduffingattractor2file )
12416+
12417+ ``` py
12418+ def saveduffingattractor2file (file : str , x : int , y : int , bits : int , a : float , b : float , w : float , dt : float , n : int ):
12419+ ```
12420+
12421+ Draws a Duffing Attractor to file
12422+
12423+ Args:
12424+ file : full path to new file
12425+ x, y : int dimensions of bmp
12426+ bits : int bit depth
12427+ a, b, c: float coefficients
12428+ dt : time interval
12429+ n: number of terms to compute
12430+
12431+
12432+ Returns:
12433+ a bitmap file
12434+
12435+
1237512436### [ ` savefractal2file ` ] ( #savefractal2file )
1237612437
1237712438``` py
@@ -12506,6 +12567,7 @@ def savegumowskimiraattractor2file(file: str, x: int, y: int, bits: int, ox: flo
1250612567Draws a Gumowski-Mira attractor to file
1250712568
1250812569 Args:
12570+ file: full path to new file
1250912571 x, y: int dimensions of bmp
1251012572 bits: int bit depth
1251112573 ox, oy: starting coordinates
@@ -12578,6 +12640,7 @@ def saveikedaattractor2file(file: str, x: int, y: int, bits: int, a: float, b: f
1257812640Draws an Ikeda Attractor to file
1257912641
1258012642 Args:
12643+ file : full path to new file
1258112644 x, y : int dimensions of bmp
1258212645 bits : int bit depth
1258312646 a, b, k, p: float coefficients
@@ -13426,6 +13489,7 @@ def savenattractor2file(file: str, x: int, y: int, bits: int, a: float, b: float
1342613489Draws a N Attractor to file
1342713490
1342813491 Args:
13492+ file : full path to new file
1342913493 x, y : int dimensions of bmp
1343013494 bits : int bit depth
1343113495 a, b, c, d: float coefficients
@@ -13512,6 +13576,7 @@ def savepeterdejongattractor2file(file: str, x: int, y: int, bits: int, a: float
1351213576Draws a Peter de Jong Attractor to file
1351313577
1351413578 Args:
13579+ file : full path to new file
1351513580 x, y : int dimensions of bmp
1351613581 bits : int bit depth
1351713582 a, b, c, d: float coefficients
0 commit comments