File:Ordinal ww.svg

頁面內容唔支援其他語言。
出自維基百科,自由嘅百科全書

原本檔案(SVG檔案,表面大細: 512 × 384 像素,檔案大細:141 KB)

摘要

描述
English: svg version of Omega squared.png by Gro-Tsen.
日期
來源 Own work based on: Ordinal ww.svg
作者
Original:
Vector:
SVG genesis
InfoField
 
The SVG code is valid.
 
This vector image was created with unknown tool.

Java Source Code

// Author: Ika, Date: 08/04/2015 -->
// The following code can be used to generate the SVG image of ordinals \omega^2.
// Anyone can copy and revise this code without any copyright concern.

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.PrintWriter;

public class Ordinal
{
	public static void main(String[] args)
	{
		try{
			File output = new File("ordinal_ww.svg");
			FileWriter fw = new FileWriter(output);
			PrintWriter pw = new PrintWriter(fw);
			
			pw.println("<?xml version=\"1.0\" standalone=\"no\"?>");
			pw.println("<!-- Author: Ika, Date: 08/04/2015 -->");
			pw.println("<!-- Anyone can copy and revise this code without any copyright concern. -->");
			pw.println("<svg width=\"512\" height=\"384\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">");
			pw.println("\n\t<g style=\"stroke:black; stroke-width:1\" >");
			// Draw the vertical lines...
			double magic_frac = 0.875;	// the length ratio between each pair of segments
			double min_l = 0.1;	// the least length of each segment
			double x=1.0, y=0.0, l=384.0;
			double L=l; // restored length after each loop
			do{
				do{
					pw.println("\t\t<path d=\"m"+x+" "+y+" v"+l+"\" />");
					x += l*(1-magic_frac)/6;
					y += l*(1-magic_frac)/2;
					l *= magic_frac;
				}while(l>min_l);
				l = L *= magic_frac;
				y = (384-l)/2;
			}while(L>min_l);
			
			pw.println("\t</g>");
			pw.println("\n</svg>");
			
			fw.close();
		}
		catch (Exception e){}
	}
}

協議

我,呢份作品嘅作者,決定用以下許可發佈呢件作品:
w:en:Creative Commons
署名 相同方式分享
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
你可以:
  • 去分享 – 複製、發佈同傳播呢個作品
  • 再改 – 創作演繹作品
要遵照下面嘅條件:
  • 署名 – 你一定要畀合適嘅表彰、畀返指向呢個授權條款嘅連結,同埋寫明有無改過嚟。你可以用任何合理方式去做,但唔可以用任何方式暗示授權人認可咗你或者你嘅使用方式。
  • 相同方式分享 – 如果你用任何方式改過呢個作品,你必須要用返原本或者相似嘅條款發佈。

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

圖中顯示嘅係

4 8 2015

檔案歷史

撳個日期/時間去睇響嗰個時間出現過嘅檔案。

日期/時間縮圖尺寸用戶註解
現時2015年8月4號 (二) 09:22響2015年8月4號 (二) 09:22嘅縮圖版本512 × 384(141 KB)IkamusumeFanUser created page with UploadWizard

無嘢連來呢份檔案。

全域檔案使用情況

下面嘅維基都用緊呢個檔案:

Metadata