File:Тонкое дерево Пифагора.png
Тонкое_дерево_Пифагора.png (708 × 530 pixels, file size: 75 KB, MIME type: image/png)
File information
Structured data
Captions
Summary edit
DescriptionТонкое дерево Пифагора.png |
Русский: Тонкое дерево Пифагора English: Thin tree of Pythagoras |
Date | |
Source | Own work |
Author | Владислав Молдован |
pascal src code edit
uses GraphABC;
procedure RLine(x, y, x1, y1: real):=Line(Round(x), Round(y), Round(x1), Round(y1));
procedure Draw(x, y, r, angle: real);
begin
var ang1 := DegToRad(angle);
var cx := x + r * Cos(ang1);
var cy := y + r * Sin(ang1);
var ang2 := Pi / 4;
var ang3 := ang1 - ang2;
var cx1 := cx + r * Cos(ang3);
var cy1 := cy + r * Sin(ang3);
var ang4 := ang1 + ang2;
var cx2 := cx + r * Cos(ang4);
var cy2 := cy + r * Sin(ang4);
RLine(x, y, cx, cy);
RLine(cx, cy, cx1, cy1);
RLine(cx, cy, cx2, cy2);
if r > 1 then
begin
r := r * 0.7;
Draw(cx1, cy1, r, RadToDeg(ang3));
Draw(cx2, cy2, r, RadToDeg(ang4));
end;
end;
begin
FloodFill(1, 1, clBlack);
SetPenColor(clCyan);
LockDrawing();
Draw(500, Window.Height - 10, 70, -90);
Redraw();
end.
Licensing edit
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:14, 1 September 2017 | 708 × 530 (75 KB) | Владислав Молдован (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ru.wikibooks.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Horizontal resolution | 37.78 dpc |
---|---|
Vertical resolution | 37.78 dpc |