Mazmuna geçiň

Faýl:Ordinal ww.svg

Page contents not supported in other languages.
Wikipediýa, erkin ensiklopediýa

Original faýl (SVG faýly, nominal 512 × 384 piksel, faýl ölçegi: 141 KB)

Bu faýl Wikimedia Commons toplaýjysyndan, özem başga taslamalarda ulanylýan bolmagy mümkin. Onuň faýl düşündiriş sahypasyndaky maglumatlar aşakda görkezilýär.

Gysgaça düşündiriş

Düşündiriş
English: svg version of Omega squared.png by Gro-Tsen.
Sene
Çeşme Own work based on: Ordinal ww.svg
Awtor
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){}
	}
}

Lisenzirleme

I, the copyright holder of this work, hereby publish it under the following license:
w:tk:Creative Commons
salgylanma meňzeş paýlaşma
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
Siz erkin:
  • paýlaşyň – iş göçüriň, paýlaň we gowşuryň
  • goşuşdyryp dörediň – iş adaptirläň
Aşakdaky şertlere laýyklykda:
  • salgylanma – Esere awtor ýa-da lisenziýa eýesi tarapyndan görkezilen (ýöne sizi ýa-da eseri ulanmaklygyňyzy goldaýandyklaryny öňe sürmeýän) görnüşde salgylanmalydyr.
  • meňzeş paýlaşma – Bu eseri üýtgeden, öwüren ýa-da bu esere esaslanýan başga bir eser döreden ýagdaýyňyzda, emele gelen eser üçin diňe şu ýa-da şuňa meňzeş lisenziýany ulanmak arkaly paýlap bilersiňiz.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts iňlis dili

copyright status iňlis dili

copyrighted iňlis dili

inception iňlis dili

4 awgust 2015

Faýlyň taryhy

Faýlyň geçmişini görmek üçin Sene/Wagt bölümündäki senelere tyklaň.

Sene/WagtMiniatýuraÖlçeglerUlanyjyTeswir
häzirki09:22, 4 awgust 201509:22, 4 awgust 2015 senesindäki wersiýanyň miniatýurasy512 × 384 (141 KB)IkamusumeFanUser created page with UploadWizard

Bu faýly ulanýan hiç hili sahypa ýok.

Global faýl ulanyşy

Bu faýl aşakdaky beýleki wikiler tarapyndan ulanylýar:

Meta-maglumat