File:Moebius Surface 1 Display Small.png
Da testwiki.
Vai alla navigazione
Vai alla ricerca
Moebius_Surface_1_Display_Small.png (180 × 140 pixel, dimensione del file: 16 KB, tipo MIME: image/png)
Questo file proviene da Wikimedia Commons e può essere utilizzato da altri progetti. Di seguito viene mostrata la descrizione presente nella pagina di descrizione del file.
| DescrizioneMoebius Surface 1 Display Small.png |
A moebius strip parametrized by the following equations:
where n=1. This plot is for display purposes by itself as a thumbnail. If you are looking for the image that is part of the sequence from n=0 to 1, see below for the other verison, along with a larger version (800px) of this image |
|||
| Data | ||||
| Fonte |
Self-made, with Mathematica 5.1 |
|||
| Autore | Inductiveload | |||
| Licenza (Riusare questo file) |
|
|||
| Altre versioni |
| Description | Moebius Strip, 1 half-turn (n=1) |
|---|---|
| Equation | : |
| Co-ordinate System | Cartesian (Parametric Plot) |
| u Range | 0 .. 4π |
| v Range | 0 .. 0.3 |
Mathematica Code
| Please be aware that at the time of uploading (15:27, 19 June 2007 (UTC)), this code may take a significant amount of time to execute on a consumer-level computer. |
| This uses Chris Hill's antialiasing code to average pixels and produce a less jagged image. The original code can be found here. |
This code requires the following packages:
<<Graphics`Graphics`
MoebiusStrip[r_:1] =
Function[
{u, v, n},
r {Cos[u] + v Cos[n u/2]Cos[u],
Sin[u] + v Cos[n u/2]Sin[u],
v Sin[n u/2],
{EdgeForm[AbsoluteThickness[4]]}}];
aa[gr_] := Module[{siz, kersiz, ker, dat, as, ave, is, ar},
is = ImageSize /. Options[gr, ImageSize];
ar = AspectRatio /. Options[gr, AspectRatio];
If[! NumberQ[is], is = 288];
kersiz = 4;
img = ImportString[ExportString[gr, "PNG", ImageSize -> (
is kersiz)], "PNG"];
siz = Reverse@Dimensions[img[[1, 1]]][[{1, 2}]];
ker = Table[N[1/kersiz^2], {kersiz}, {kersiz}];
dat = N[img[[1, 1]]];
as = Dimensions[dat];
ave = Partition[Transpose[Flatten[ListConvolve[ker, dat[[All, All, #]]]] \
& /@ Range[as[[3]]]], as[[2]] - kersiz + 1];
ave = Take[ave, Sequence @@ ({1, Dimensions[ave][[#]],
kersiz} & /@ Range[Length[Dimensions[ave]] - 1])];
Show[Graphics[Raster[ave, {{0, 0}, siz/kersiz}, {0, 255}, ColorFunction ->
RGBColor]], PlotRange -> {{0, siz[[1]]/kersiz}, {
0, siz[[2]]/kersiz}}, ImageSize -> is, AspectRatio -> ar]
]
deg = 1;
gr = ParametricPlot3D[Evaluate[MoebiusStrip[][u, v, deg]],
{u, 0, 4π},
{v, 0, .3},
PlotPoints -> {99, 3},
PlotRange -> {{-1.3, 1.3}, {-1.3, 1.3}, {-0.7, 0.7}},
Boxed -> False,
Axes -> False,
ImageSize -> 220,
PlotRegion -> {{-0.22, 1.15}, {-0.5, 1.4}},
DisplayFunction -> Identity
];
finalgraphic = aa[gr];
Export["Moebius Surface " <> ToString[deg] <> ".png", finalgraphic]
Didascalie
Aggiungi una brevissima spiegazione di ciò che questo file rappresenta
Elementi ritratti in questo file
raffigura
Valore sconosciuto senza un elemento Wikidata
19 giu 2007
16 196 byte
140 pixel
180 pixel
image/png
fb5c99c221e213396622ce46fbabe9d465fb7949
Cronologia del file
Fare clic su un gruppo data/ora per vedere il file come si presentava nel momento indicato.
| Data/Ora | Miniatura | Dimensioni | Utente | Commento | |
|---|---|---|---|---|---|
| attuale | 16:31, 19 giu 2007 | 180 × 140 (16 KB) | wikimediacommons>Inductiveload |
Utilizzo del file
La seguente pagina usa questo file:
