File:Steiner chain animation Highres.gif

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

Original file(1,500 × 1,499 pixels, file size: 982 KB, MIME type: image/gif, looped, 14 frames, 2.8 s)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Animation of a Steiner chain of 9 circles, showing that the locus of the position of the circles' centres is an ellipse (in orange).
Date
Source https://twitter.com/j_bertolotti/status/1039499178941005824
Author Jacopo Bertolotti
Permission
(Reusing this file)
https://twitter.com/j_bertolotti/status/1030470604418428929

Mathematica 11.0 code[edit]

n = 9;
\[Theta] = \[Pi]/n;
\[CapitalDelta]\[Theta] = (2 \[Pi])/n;
R = 0.2;
\[Rho] = R/(1 + 1/Sin[\[Theta]]);
r = \[Rho] (1/Sin[\[Theta]] - 1);
center = {.3, 0};
plots = Reap[For[start = 0, start <= 2 \[Pi], start = start + 0.05,
      CandR = 
       Table[{center[[1]] + (\[Rho] + r) Cos[i], 
         center[[2]] + (\[Rho] + r) Sin[i], \[Rho]}, {i, start, 
         start + (n - 
             1)*\[CapitalDelta]\[Theta], \[CapitalDelta]\[Theta]}];
      createcoord[{x_, y_, 
         z_}] := {(x )/(x^2 + y^2 - z^2), (y)/(x^2 + y^2 - z^2), 
        z/(x^2 + y^2 - z^2)};
      
      innerc = createcoord[Flatten[{center, r}]];
      outherc = createcoord[Flatten[{center, R}]];
      ellipseCenter = {(outherc[[1]] + innerc[[1]])/2, 0};
      ellipseA = 
       Abs[createcoord[{center[[1]] + \[Rho] + r, 0, \[Rho]}][[1]] - 
         ellipseCenter[[1]]];
      ellipseC = (outherc[[1]] - innerc[[1]])/2;
      ellipseB = Sqrt[ellipseA^2 - ellipseC^2];
      Sow@Show[
        Graphics[{Black, Thick, 
          Circle[{#1, #2}, #3] & @@@ Map[createcoord, CandR] }],
        Graphics[{Blue, Thick, 
          Circle[{#1, #2}, #3] & @@@ {innerc, outherc} }],
        Graphics[{Orange, Thick, 
          Circle[ellipseCenter, {ellipseA, ellipseB}]}],
        Graphics[{PointSize[0.02], 
          Point[Map[createcoord, CandR][[All, 1 ;; 2]]] }]
        ];
      ];][[2, 1]];
ListAnimate[plots]

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.

This file, which was originally posted to https://twitter.com/j_bertolotti/status/1039499178941005824, was reviewed on 19 October 2018 by reviewer Ronhjones, who confirmed that it was available there under the stated license on that date.

File history

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

Date/TimeThumbnailDimensionsUserComment
current18:27, 29 May 2022Thumbnail for version as of 18:27, 29 May 20221,500 × 1,499 (982 KB)Bürgerentscheid (talk | contribs)slower animation, identical frames removed, original resolution
21:08, 21 May 2022Thumbnail for version as of 21:08, 21 May 2022891 × 890 (6.45 MB)Bürgerentscheid (talk | contribs)resized to fit 100 MP limit, delay added
13:05, 11 September 2018Thumbnail for version as of 13:05, 11 September 20181,500 × 1,499 (8.98 MB)Berto (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

Metadata