Faili:Ordinal ww.svg

Faili halisi (faili la SVG, husemwa kuwa piseli 512 × 384, saizi ya faili: 141 KB)

Faili hili linatoka Wikimedia Commons. Maelezo yapo kule kwenye ukurasa wake wa maelezo unaonekana hapo chini.
Commons ni mahali mtandaoni pa kuhifadhia jalada na hati za picha na sauti zenye leseni huria. Unaweza kuisadia.

Muhtasari

Maelezo
English: svg version of Omega squared.png by Gro-Tsen.
Tarehe
Chanzo Own work based on: Ordinal ww.svg
Mwandishi
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){}
	}
}

Hatimiliki

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
sifa shiriki sawa
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
Uko huru:
  • kushiriki – kunakili na kusambaza kazi hiyo
  • kwa remix – kurekebisha kazi
Chini ya masharti yafuatayo:
  • sifa – Ni lazima utoe mkopo unaofaa, utoe kiungo cha leseni, na uonyeshe ikiwa mabadiliko yalifanywa. Unaweza kufanya hivyo kwa njia yoyote inayofaa, lakini si kwa njia yoyote inayopendekeza mtoa leseni akuidhinishe wewe au matumizi yako.
shiriki sawa – Ukichanganya, kubadilisha, au kujenga juu ya nyenzo, lazima usambaze michango yako chini ya same or compatible license kama ya awali.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts Kiingereza

copyright status Kiingereza

copyrighted Kiingereza

4 Agosti 2015

Historia ya faili

Bonyeza tarehe/saa kuona faili kama ilivyoonekana wakati huo.

Tarehe/SaaPicha ndogoVipimoMtumiajiMaelezo
sasa hivi09:22, 4 Agosti 2015Picha ndogo ya toleo la 09:22, 4 Agosti 2015512 × 384 (141 KB)IkamusumeFanUser created page with UploadWizard

Hakuna kurasa zozote zinazotumia faili hii.

Matumizi ya faili ulimwenguni

Wiki nyingine hutumia faili hizi:

Data juu