File:Vogel spiral construction.webm

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Vogel_spiral_construction.webm(WebM audio/video file, VP9, length 2 min 3 s, 360 × 360 pixels, 139 kbps overall, file size: 2.04 MB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: To construct a Vogel spiral, you start from a Fermat spiral (where the radius increases with the square root of the angle), and then sample a point every golden angle.
Date
Source https://twitter.com/j_bertolotti/status/1421047024099676163
Author Jacopo Bertolotti
Permission
(Reusing this file)
https://twitter.com/j_bertolotti/status/1030470604418428929

Mathematica 12.0 code

[edit]
speedstep[t_] := t^2;
c = 1;
nmax = 100;
frames1 = Table[
   ParametricPlot[ c Sqrt[n] {Cos[n GoldenAngle], Sin[n GoldenAngle]}, {n, 0, nmax*speedstep[t]}, Axes -> False, PlotStyle -> LightGray, PlotRange -> {{-c Sqrt[nmax], c Sqrt[nmax]}, {-c Sqrt[nmax], c Sqrt[nmax]}}]
   , {t, 0.001, 1, 0.01}];
frames2 = Table[
   Show[ParametricPlot[c Sqrt[n] {Cos[n GoldenAngle], Sin[n GoldenAngle]}, {n, 0, nmax}, Axes -> False, PlotStyle -> LightGray],
    Graphics[{Orange, Thickness[0.007], Line[{{0, 0}, {t, 0}}]}, PlotRange -> {{-c Sqrt[nmax], c Sqrt[nmax]}, {-c Sqrt[nmax], c Sqrt[nmax]}}]
    ]
   , {t, 0.001, c Sqrt[nmax] + 0.1, 0.15}];
frames3 = Table[Show[ParametricPlot[c Sqrt[n] {Cos[n GoldenAngle], Sin[n GoldenAngle]}, {n, 0, nmax}, Axes -> False, PlotStyle -> LightGray],
    Graphics[{Orange, Thickness[0.007], Line[{{0, 0}, {c Sqrt[nmax] + 0.1, 0}}], Opacity[t],  Disk[{0, 0}, 0.3]}, PlotRange -> {{-c Sqrt[nmax], c Sqrt[nmax]}, {-c Sqrt[nmax], c Sqrt[nmax]}}]
    ]
   , {t, 0, 1, 0.1}];
sinstep[t_] := Sin[\[Pi]/2 t]^2
frames4 = Table[
   Show[ParametricPlot[c Sqrt[n] {Cos[n GoldenAngle], Sin[n GoldenAngle]}, {n, 0, nmax}, Axes -> False, PlotStyle -> LightGray],
Graphics[{Black, Disk[{0, 0}, 0.3], Orange, Thickness[0.007], Line[{{0, 0}, {c Sqrt[nmax] + 0.1, 0}}], Line[{{0, 0}, (c Sqrt[nmax] + 0.1) {Cos[GoldenAngle*sinstep[t] ], Sin[GoldenAngle*sinstep[t] ]}}], Disk[c Sqrt[sinstep[t]] {Cos[GoldenAngle*sinstep[t] ], Sin[GoldenAngle*sinstep[t] ]}, 0.3]}, PlotRange -> {{-c Sqrt[nmax], c Sqrt[nmax]}, {-c Sqrt[nmax], c Sqrt[nmax]}}]
    ]
   , {t, 0, 1, 0.02}];
frames5 = Table[Table[
    Show[ParametricPlot[c Sqrt[n] {Cos[n GoldenAngle], Sin[n GoldenAngle]}, {n, 0, nmax}, Axes -> False, PlotStyle -> LightGray],
     Graphics[{Black, Table[Disk[c Sqrt[n] {Cos[n GoldenAngle], Sin[n GoldenAngle]}, 0.3], {n, 0, t}], Orange, Thickness[0.007], Line[{{0, 0}, (UnitStep[t - 1] (c Sqrt[nmax] + 0.1)) {Cos[GoldenAngle*(t - 1) ], Sin[GoldenAngle*(t - 1) ]}}], Line[{{0, 0}, (c Sqrt[nmax] + 0.1) {Cos[GoldenAngle*t ], Sin[GoldenAngle*t ]}}], Disk[c Sqrt[t] {Cos[GoldenAngle*t ], Sin[GoldenAngle*t ]}, 0.3]
       }, PlotRange -> {{-c Sqrt[nmax], c Sqrt[nmax]}, {-c Sqrt[nmax], c Sqrt[nmax]}}]
     ]
    , {t, j, j + 1, 0.1}], {j, 1, nmax}];

ListAnimate[ Flatten@Join[frames1, Table[frames1[[-1]], 5], frames2, frames3, frames4, Table[frames4[[-1]], 2], Table[{frames5[[j]], Table[frames5[[j, -1]], 2]}, {j, 1, nmax}]]]

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:39, 2 August 20212 min 3 s, 360 × 360 (2.04 MB)Berto (talk | contribs)Imported media from uploads:6a781ac2-f396-11eb-904b-02209559b1b8

The following page uses this file:

Transcode status

Update transcode status
Format Bitrate Download Status Encode time
VP9 360P 88 kbps Completed 13:40, 2 August 2021 37 s
Streaming 360p (VP9) Not ready Unknown status
VP9 240P 52 kbps Completed 13:40, 2 August 2021 25 s
Streaming 240p (VP9) 52 kbps Completed 01:56, 22 December 2023 1.0 s
WebM 360P 161 kbps Completed 13:40, 2 August 2021 12 s
Streaming 144p (MJPEG) 578 kbps Completed 04:36, 18 November 2023 3.0 s

Metadata