Sākotnējais fails(SVG fails, definētais izmērs 512 × 384 pikseļi, faila izmērs: 141 KB)

Kopsavilkums

Apraksts
English: svg version of Omega squared.png by Gro-Tsen.
Datums
Avots Own work based on: Ordinal ww.svg
Autors
Original:
Vektors:
SVG veidošana
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){}
	}
}

Licence

Es, šī darba autortiesību īpašnieks, publicēju to saskaņā ar šo licenci:
w:en:Creative Commons
atsaucoties nemainot licenci
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
Jūs varat brīvi:
  • koplietot – kopēt, izplatīt un pārraidīt darbu
  • remiksēt – pielāgot darbu
Saskaņā ar šādiem nosacījumiem:
  • atsaucoties – Tev ir jānorāda autors, saite uz licenci un to, vai veiktas kādas izmaiņas. To var darīt jebkādā saprātīgā veidā, bet ne tādā, kas norādītu, ka licencētājs atbalsta tevi vai veidu, kā tu izmanto šo darbu.
  • nemainot licenci – Ja tu miksē, pārveido vai izmanto materiālu, tev savs devums jāpublicē ar to pašu vai saderīgu licenci kā oriģināls.

Captions

Pievieno vienas rindiņas aprakstu, ko šis fails attēlo

Šajā failā attēlotais

attēlo

4 augusts 2015

Faila hronoloģija

Uzklikšķini uz datums/laiks kolonnā esošās saites, lai apskatītos, kā šis fails izskatījās tad.

Datums/LaiksAttēlsIzmēriDalībnieksKomentārs
tagadējais2015. gada 4. augusts, plkst. 12.222015. gada 4. augusts, plkst. 12.22 versijas sīktēls512 × 384 (141 KB)IkamusumeFanUser created page with UploadWizard

Šo failu neizmanto nevienā lapā.

Globālais faila lietojums

Šīs Vikipēdijas izmanto šo failu:

Metadati