• Remix
  • Share
  • New Entry

  • Jr

  • /
  • dandelions

on 26 Nov 2023
  • 45
  • 48
  • 1
  • 1
  • 660
drawframe(1);
kt =
Text (🌿) with properties: String: '🌿' FontSize: 55.2500 FontWeight: 'normal' FontName: 'Helvetica' Color: [0.4100 0.5900 0.2900] HorizontalAlignment: 'left' Position: [27 80 0] Units: 'data' Use GET to show all properties
Inspired by Jenny Bosten's artwork / 2021
function drawframe(f)
n=80;
h=pi*(3-5^.5);
z=linspace(1-1/n,1/(n-1),n);
t=h.*linspace(0,n,n);
r=(1-z.^2);
p=r*f/60.*cos(t*f);
q=r*f/60.*sin(t*f);
u=r*f/90.*cos(t);
v=r*f/90.*sin(t);
image(zeros(99,100,3))
hold on
plot(flip(30*(z.^2))+34,80*(-z)+110,'-','LineWidth',4,'Color',[.41 .59 .29])
plot(30*(z.^2)+45,80*(-z)+100,'-','LineWidth',4,'Color',[.41 .59 .29])
for k=1:n
plot3(17*([0 u(k)]+2),17*([0 v(k)]+1.8),170*([0 z(k)]),'*--w','markersize',.1)
plot3(17*([0 p(k)]+4.4),17*([0 q(k)]+1.2),170*([0 z(k)]),'*--w', 'markersize',.1)
end
ht=text(55,80,'🌿','color','g','FontSize',60+f/4,'Color',[.41 .59 .29]);
kt=text(27,80,'🌿','color','g','FontSize',55+f/4,'Color',[.41 .59 .29]);
kt.Rotation = 90
axis equal off %I kind of liked the stem coming out of the figure
end
Animation
Remix Tree