Flag
This commit is contained in:
parent
0483c2dca0
commit
1dc78980b2
18
InstallerSamples/WhatsNew/3_11_0/Flag1.pas
Normal file
18
InstallerSamples/WhatsNew/3_11_0/Flag1.pas
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
uses Graph3D;
|
||||
|
||||
begin
|
||||
Window.Caption := 'Развевающийся флаг';
|
||||
View3D.HideAll;
|
||||
Cylinder(0,4,0,6,0.07,Colors.Brown);
|
||||
var c := Cloth(0,4,0,3,4,6,'FlagOfRussia.png');
|
||||
c.WindSpeed := 6;
|
||||
c.WindDirection := 180;
|
||||
c.Gravity := 4;
|
||||
c.Damping := 0.999;
|
||||
c.Mass := 0.8;
|
||||
c.Iterations := 20;
|
||||
Sleep(1000);
|
||||
c.Stop;
|
||||
Sleep(1000);
|
||||
c.Start;
|
||||
end.
|
||||
BIN
InstallerSamples/WhatsNew/3_11_0/FlagOfRussia.png
Normal file
BIN
InstallerSamples/WhatsNew/3_11_0/FlagOfRussia.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Loading…
Reference in a new issue