07-27-2023, 09:55 AM
and now almost fractal antenna
ps. did i mention i have new statement in microA
it is :
MODE 0 - turned off constant window update
MODE 1 - turned on
and now code:
ps. did i mention i have new statement in microA
it is :
MODE 0 - turned off constant window update
MODE 1 - turned on
and now code:
Code: (Select All)
'fracTRee b256
mode 1
var i,x1,y1,angle,s,b,r,x2,y2,n,pi,b
pi = 3.14159
i=1
while i < 1000
x1=300
y1=600
s=290
angle = 270
'color 127*int(rand*3),127*int(rand*3),127*int(rand*3)
fcolor 230,180,100:swap
b=1
while b < 6
'call fn()
lines()
s=s*0.5
angle = angle + rand(5)*90-45
'next b
b=b+1
wend
'next i
i=i+1
wend
func lines()
r = (angle/180)*pi
y2=y1 + (sin (r))*s
x2=x1 - (cos (r))*s
n=1
while n < 30
circle (x2*n+x1*(30-n))/30, (y2*n+y1*(30-n))/30, 8/b+2
swap
n=n+1
wend
x1=x2
y1=y2
endfn
micro(A)developer
http://basic4us.epizy.com/forum/index.php
http://basic4us.epizy.com/forum/index.php