09.01.2008, 22:50 | #1 |
Участник
|
Ruslan Goncharov: Lorenz attractor
Источник: http://rusgon.blogspot.com/2008/01/l...tor-in-ax.html
============== The Lorenz attractor is a set of differential equations which are popular in the field of Chaos. Following job visualize Lorenz attractor: static void JobLorenzAttractor(Args _args) { #define.iterations(1000000) #define.sigma(5) #define.r(15) #define.b(1) #define.imageSizeX(300) #define.imageSizeY(300) Form form; FormRun formRun; FormDesign formDesign; Args args; FormBuildDesign formBuildDesign; FormBuildWindowControl formBuildWindowControl; FormWindowControl pane; Image image = new Image(); void DrawAttractor() { real x, y, z; int color; real t; real x1, y1, z1; real dt; int _x, _y; ; color = 0xFF00; x = 3.051522; y = 1.582542; z = 15.62388; dt = 0.0001; for(t=0; t0)&&(_x0)&&(_y
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|