ファイル:Double torus illustration.png

提供: testwiki
ナビゲーションに移動 検索に移動
    元のファイル (985 × 1,077 ピクセル、ファイルサイズ: 260キロバイト、MIME タイプ: image/png)

    このファイルはウィキメディア・コモンズのものであり、他のプロジェクトで使用されている可能性があります。 ウィキメディア・コモンズでのファイル解説ページにある説明を以下に示します。

    概要

    解説
    English: Illustration of en:Double torus
    日付 (UTC)
    原典 投稿者自身による著作物
    作者 Oleg Alexandrov
    その他のバージョン
    このファイルのベクター画像 (SVG) が利用できます。 使う目的に対し、元画像よりもSVGがより優れている場合、SVG画像を使用して下さい。

    File:Double torus illustration.png → File:Bitorus.svg

    ベクターグラフィックスの詳細については、コモンズのSVG変換を参照ください。
    SVGのMediaWikiのサポートに関する情報もあります。

    他言語
    Alemannisch ∙ العربية ∙ беларуская (тарашкевіца) ∙ български ∙ বাংলা ∙ català ∙ нохчийн ∙ čeština ∙ dansk ∙ Deutsch ∙ Ελληνικά ∙ English ∙ British English ∙ Esperanto ∙ español ∙ eesti ∙ euskara ∙ فارسی ∙ suomi ∙ français ∙ Frysk ∙ galego ∙ Alemannisch ∙ עברית ∙ हिन्दी ∙ hrvatski ∙ magyar ∙ հայերեն ∙ Bahasa Indonesia ∙ Ido ∙ italiano ∙ 日本語 ∙ ქართული ∙ 한국어 ∙ lietuvių ∙ македонски ∙ മലയാളം ∙ Bahasa Melayu ∙ မြန်မာဘာသာ ∙ norsk bokmål ∙ Plattdüütsch ∙ Nederlands ∙ norsk nynorsk ∙ norsk ∙ occitan ∙ polski ∙ prūsiskan ∙ português ∙ português do Brasil ∙ română ∙ русский ∙ sicilianu ∙ Scots ∙ slovenčina ∙ slovenščina ∙ српски / srpski ∙ svenska ∙ தமிழ் ∙ ไทย ∙ Türkçe ∙ татарча / tatarça ∙ українська ∙ vèneto ∙ Tiếng Việt ∙ 中文 ∙ 中文(中国大陆) ∙ 中文(简体) ∙ 中文(繁體) ∙ 中文(马来西亚) ∙ 中文(新加坡) ∙ 中文(臺灣) ∙ +/−
    新しいSVG画像

    PNG 開発
    InfoField
     この 図式はMATLABで作成されました。

    ライセンス

    Public domain この作品の著作権者である私は、この作品についての権利を放棄しパブリックドメインとします。これは全世界で適用されます。
    一部の国では、これが法的に可能ではない場合があります。その場合は、次のように宣言します。
    私は、あらゆる人に対して、法により必要とされている条件を除き、如何なる条件も課すことなく、あらゆる目的のためにこの著作物を使用する権利を与えます。


    Source code

    % illustration of a double torus, obtained as an isosurface
    function main()
    
       % big and small radii of the torus
       R = 3; r = 1; 
    
       % c controls the transition from one ring to the other
       c = 1.3*pi/2;
       
       Kb = R+r;
      
       h = 0.1; % h is the grid size. Smaller h means prettier picture.
       
       X = (-Kb-h):h:(3*Kb+h); m = length(X);
       Y = (-Kb-h):h:(Kb+h);   n = length(Y);
       Z = (-r-h):h:(r+h);     k = length(Z);
     
       W = zeros(m, n, k); % the zero level set of this function will be the desired shape
     
       for i=1:m
          for j=1:n
             x = X(i); x = my_map(x, Kb, c);   % map from two torii to one torus
             y = Y(j); 
             W(i, j, :) = (sqrt(x^2+y^2)-R)^2 + Z.^2-r^2; % torus eqn, vectorize in Z
          end
       end
    
       figure(4); clf; hold on; axis equal; axis off;
    
       H = patch(isosurface(W, 0));
       isonormals(W, H);
          
       light_green=[184, 224, 98]/256;
    
       % set some propeties
       set(H, 'FaceColor', light_green, 'EdgeColor','none', 'FaceAlpha', 1);
       set(H, 'SpecularColorReflectance', 0.1, 'DiffuseStrength', 0.8);
       set(H, 'FaceLighting', 'phong', 'AmbientStrength', 0.3);
       set(H, 'SpecularExponent', 108);
    
       daspect([1 1 1]);
       axis tight;
       colormap(prism(28))
          
    % viewing angle
       view(-165, 42);
    
    % add in a source of light
       camlight (-50, 54); lighting phong;
    
    % save as png
      print('-dpng', '-r500', sprintf('Double_torus_illustration.png'));
       
    % This function constructs the second ring in the double torus
    % by mapping from the first one.
    function y=my_map(x, K, c)
    
       if x > K
          x = 2*K - x;
       end
       
       if x < K-c
          y = x;
       else
          y = (K-c) + sin((x - (K-c))*(pi/2/c));
       end
    

    キャプション

    このファイルの内容を1行で記述してください
    Illustration of a double torus

    このファイルに描写されている項目

    題材

    6 9 2007

    266,030 バイト

    1,077 ピクセル

    985 ピクセル

    87ef1565f0a904b7ff52022b44a3ca2265339c58

    ファイルの履歴

    過去の版のファイルを表示するには、その版の日時をクリックしてください。

    日時サムネイル寸法利用者コメント
    現在の版2008年7月12日 (土) 05:322008年7月12日 (土) 05:32時点における版のサムネイル985 × 1,077 (260キロバイト)wikimediacommons>Oleg AlexandrovHigher quality version, using isosurface instead of patches. Same license and all that.

    このファイルを使用しているページはありません。