N
N
Nadya72020-07-04 16:44:01
C++ / C#
Nadya7, 2020-07-04 16:44:01

How to complete this cycle?

___________________________________________________________
_______________________________

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HemulGM, 2020-07-04
@HemulGM

Offhand so

uses math;
for i := 0 to 100 do
begin
  point := sin(DegToRad(6*pi/100 + i));
  ...
end;

fmx
Path1.Data.Clear;
Path1.Data.MoveTo(TPointF.Zero);
for var i := 0 to 1000 do
begin
  var Pt := TPointF.Create(i * 10, sin(DegToRad(6*pi/1000+i)));
  Path1.Data.LineTo(Pt);
end;

5f008d26e145a483982386.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question