File:FatTrifolium.svg
Summary
Description |
English: Flower with 3 petals. Fat trifolium curves. One single folium curve with different radii, and it's 2 rotation images ( 1/3 and 2/3 |
Date | |
Source | Own work |
Author | Adam majewski |
Other versions |
|
SVG development | Category:Valid SVG created with Gnuplot code#FatTrifolium.svg ![]() Category:Translation possible - SVGThis plot uses embedded text that can be easily translated using a text editor. |
Source code | Gnuplot code/*
Batch file for Maxima CAS
save as a o.mac
run maxima :
maxima
and then :
batch("a.mac");
*/
kill(all);
remvalue(all);
ratprint:false; /* It doesn't change the computing, just the warnings. */
display2d:false;
numer: true;
/*
folium curve
https://www.mathcurve.com/courbes2d.gb/foliumsimple/foliumsimple.shtml
r = a* cos^3(t)
with rotation
https://math.stackexchange.com/questions/154743/how-to-rotate-a-polar-equation
*/
FoliumCurve_Polar(a,rotation):=
/* polar(radius, ang, minang, maxang) */
polar(a*(sin(t + rotation))^3,t,0,2*%pi)$
FoliumCurves_Polar(aMin, aMax, aStep):= block(
[a,l, ll],
ll:[],
for a:aMin step aStep thru aMax do (
l:FoliumCurve_Polar(a, 0),
ll: cons(l,ll),
l:FoliumCurve_Polar(a, 2*%pi/3),
ll: cons(l,ll) ,
l:FoliumCurve_Polar(a, 4*%pi/3),
ll: cons(l,ll)
),
return (ll)
)$
ll:FoliumCurves_Polar(1, 20, 0.5)$
load(draw);
/* strings */
path:"~/c/julia/parabolic/hawaian/3/"$ /* if empty then file is in a home dir , path should end with "/" */
FileName: "FatTrifolium"$
draw2d(
terminal = svg,
file_name = sconcat(path, FileName,""),
title = "Fat trifolium curves ",
dimensions = [1000, 1000],
nticks=300,
ll)$
|
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.