File:LOGO Attractor.png
Original file (800 × 800 pixels, file size: 430 KB, MIME type: image/png)
Captions
Summary
[edit]DescriptionLOGO Attractor.png |
English: Peter de Jong Attractor made with POOL (http://www.pool.rnd.team), a dialect of LOGO programming language.
Formulas: x(n+1) = sin(a * y(n)) - cos(b * x(n)) y(n+1) = sin(c * x(n)) - cos(d * y(n)) Parameters: a = -1.164; b = 1.41; c = -1.42; d = -1.6;Polski: Atraktor Peter de Jong utworzony w POOL (http://www.pool.rnd.team), dialekcie języka programowania LOGO.
Formuła przekształcenia punktu: x(n+1) = sin(a * y(n)) - cos(b * x(n)) y(n+1) = sin(c * x(n)) - cos(d * y(n)) Wartości parametrów: a = -1.164; b = 1.41; c = -1.42; d = -1.6; |
Date | |
Source | Own work |
Author | Rob su |
Licensing
[edit]- 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.
;Sample POOL code, you may use it, modify it, and distribute it under the GPL license.
;Authors: R&D Independent Team
;Source: http://www.pool.rnd.team
;1. Adjust these values to change the attractor shape.
let "t {-1.164 1.41 -1.42 -1.6}
;2. Experiment with different formulas of f and g functions.
to f
op (radsin :t,1 * :xy,2) - (radcos :t,2 * :xy,1)
end
to g
op (radsin :t,3 * :xy,1) - (radcos :t,4 * :xy,2)
end
let "xy {0 0}
to next ;step on the attractor
let "ny g
:xy,1 := f
:xy,2 := :ny
op :xy
end
window ht
;3. Change the scale to fit your screen size.
:pool_cfg,"scale_x := 200
:pool_cfg,"scale_y := 200
;4. Adjust the loop length.
repeat 2000000 [putpointat next {0 0 0 4}]
print "done
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 09:28, 25 March 2015 | 800 × 800 (430 KB) | Rob su (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
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.79 dpc |
---|---|
Vertical resolution | 37.79 dpc |