Yeti

Joined 24 August 2022
→‎Spin: mandelbrot example updated to variant with 2 multiplications less per loop
m (removing header templates that make this page appear among task categories)
(→‎Spin: mandelbrot example updated to variant with 2 multiplications less per loop)
Line 89:
ser : "FullDuplexSerial"
 
pub main | c,cx,cy,dx,dy,x,y,xnx2,yn,rsqy2,iter
 
ser.start(31, 30, 0, 115200)
Line 102:
x:=0
y:=0
rsqx2:=0
xy2:=xn0
iter:=0
repeat while iter=<maxiter and rsqx2+y2=<16384
xny:=((x*x-y*y)~>1211)+cxcy
ynx:=((x*y)~>11)x2-y2+cycx
x:=xn
y:=yn
rsq:=(x*x+y*y)~>12
iter+=1
yx2:=yn(x*x)~>12
rsqy2:=(x*x+y*y)~>12
cx+=dx
ser.tx(iter+32)
cy+=dy
ser.txstr(string(13,10))
 
waitcnt(_clkfreq+cnt)
Line 124:
!!!!!!!!!!!!!"""""""""#######################$$$$$$$%'+)%%%$$$$$#####"""""""""""
!!!!!!!!!!!"""""""#######################$$$$$$$$%%%&&(+,)++&%$$$$$$######""""""
!!!!!!!!!"""""#######################$$$$$$$$$$%%%%&')*45:/+('&%%$$$$$$#######"""
!!!!!!!!""""#####################$$$$$$$$$$%%%&&&''),:::::::,'&%%%%%$$$$########
!!!!!!!"""####################$$$$$$$$%%%&'())((())*,::::::/+))('&&&&)'%$$######
!!!!!!""###################$$$$$%%%%%%&&&'+.:::/::::::::::::::::/++:..9:93%%$#####
!!!!!"################$$$%%%%%%%%%%&&&&'),+12:::::::::::::::::::::::::1(&&%$$####
!!!!"##########$$$$$%%&(-(''''''''''''(*,5::::::::::::::::::::::::::::+)-&%$$###
!!!!####$$$$$$$$%%%%%&'(*-:1.+.:-4+))**:::::::::::::::::::::::::::::::4-(&%$$$##
!!!!#$$$$$$$$$%%%%%%'''++.6:::::::::8/0::::::::::::::::::::::::::::::::3(%%$$$$#
!!!#$$$$$$$%&&&&''()/-35.5::::::::::::::::::::::::::::::::::::::::::::::'&%%$$$$#
!!!(**+/+:523/:080/46::::::::::::::::::::::::::::::::::::::::::::::::4+)'&&%%$$$$#
!!!#$$$$$$$%&&&&''().-2.:::::::::::::::::::::::::::::::::::::::::::::::'&%%$$$$#
!!!!#$$$$$$$$$%%%%%&'''/,.7::::::::::/0::::::::::::::::::::::::::::::::0'%%$$$$#
!!!!####$$$$$$$$%%%%%&'(*-:2.,/:-5+))**:::::::::::::::::::::::::::::::4+(&%$$$##
!!!!"##########$$$$$%%&(,-(''''(''''''((*,4:::::::::::::::::::::::::::4+)-.&%$$###
!!!!!"################$$$%%%%%%%%%%&&&&'):,4:::::::::::::::::::::::::/('&%%$####
!!!!!!""##################$$$$$$%%%%%%&&&'*.:::0::::::::::::::::1,,://:9)%%$#####
!!!!!!!"""####################$$$$$$$$%%%&(())((()**-::::::/+)))'&&&')'%$$######
!!!!!!!!""""#####################$$$$$$$$$$%%%&&&''(,:::::::+'&&%%%%%$$$########
!!!!!!!!!"""""#######################$$$$$$$$$$%%%%&')*7:0+('&%%%$$$$$#######"""
!!!!!!!!!!!"""""""######################$$$$$$$$$%%%&&(+-).*&%$$$$$$######""""""
!!!!!!!!!!!!!"""""""""#######################$$$$$$%%'73(%%%$$$$$######""""""""""
!!!!!!!!!!!!!!!""""""""""""#####################################""""""""""""""""
</pre>
169

edits