Fractal

Sergey Kravchenko

Active Member
Licensed User
Longtime User
Fractal
 

Attachments

  • Fractal.sbp
    856 bytes · Views: 354
  • fractal.jpg
    fractal.jpg
    14.6 KB · Views: 265

colin9876

Active Member
Licensed User
clever

nice!

By the way, if running on the ppc it needs a doevents after the line draw, otherwise it hangs permenently with a blank screen and looks like its crashed!
 

Cableguy

Expert
Licensed User
Longtime User
Like his:

B4X:
.......
x1=(v(c,0)*x)+(v(c,1)*y)+v(c,4)
   y1=(v(c,2)*x)+(v(c,3)*y)+v(c,5)
   x=x1
   y=y1
   Fractal.Line(x*23+100,235-y*23,x*23+100+1,235-y*23+1,cGreen)
   [COLOR="DarkOrange"]DoEvents[/COLOR]
   Next
End Sub
Even in the desktop, the doevents statement makes the app run in a more espectacular way...

But if used in a later version (6.0) of basic4ppc, I get an undeclared array error...
can't figure out why...
 

Cableguy

Expert
Licensed User
Longtime User
@Erel, yes I am at home, but im my workstation, at work I have a shareware version of v6.0...
wich gave me the error...
 
Top