EJEMPLOS

Aki les dejo algunos ejemplos de la utilizacion del BASIC-256 espero que sean de su agrado

fastgraphics
graphsize 600,300
For n = 1 to 300
plot (300,1)
Print "Fractal rule every "+n+" rows"
For y = 1 to 300
For x = 1 to 600
a=0
if pixel(x-1,y)=black then a=a+1
if pixel(x,y)=black then a=a+10
if pixel(x+1,y)=black then a=a+100

if y/n = int (y/n) then
gosub fractal
else
gosub chaotic
end if

next x
refresh
next y
refresh
clg
next n

chaotic:
if a=001 or a=110 or a =010 or a=100 then plot (x,y+1)
return
fractal:
if a=001 or a=010 or a=100 then plot (x,y+1)

return


#With 3 lines we can make a famous character. Complete it and write your code as a comment.We will publish your attempts.
circle 150,200,90
circle 75,90,50
circle 225,90,50


#Doppler efect
fastgraphics 
x=0
loop:
for b = 1 to 10
color white
rect 0,0,300,300
x=x+1
a=.5
for n = 1 to 255 step 5
a=a*-1+.5
color rgb(255-a*n,255-a*n,255-a*n)
circle x + (n-b)*.5-255,150,255-(n-b)
next n
refresh
clg
next b
goto loop


graphsize 900,450
fastgraphics
vx=2
vy=3
vz=5
x=10
y=10
z=14
Loop:
color darkred
rect 0,0,900,450
color rgb(0,123,0)
poly{0,300,450,450,900,300,450,150}
color rgb(0,83,0)
poly{0,300,450,150,450,0,0,150}
color rgb(0,103,0)
poly{900,300,450,150,450,0,900,150}
color red
vz=vz-.05
x=x+vx
y=y+vy
z=z+vz
vz=vz-.05
h=(x+y)*cos(1/3)
v=300-(-x+y)*sin(1/3)
if x>465 then vx=-vx
if x<0 then vx=-vx
if y>465 then vy=-vy
if y<0 then vy=-vy
if z<0 then vz=-vz
color black
rect h,v,10,2
color red
circle h,v-z,10
refresh
clg
goto Loop

bueno aqui les dejo un pekeño en lace en donde pueden encontras otro distintos ejemplo que pueden utilizar GRACIAS ¡¡¡¡¡
http://basic256.blogspot.mx/

10 comentarios:

  1. Baia mierda, dislaik i me desuscrivo, te vloqueo y te denunsio por akoso, pendejo

    ResponderEliminar
    Respuestas
    1. djate decir pelotudeses o heber el shaampu ira a x ti pendejo

      Eliminar
    2. Tu ninio, Heber el shampu ba a ber el komentario y te ba a labar la voca con su shampu, pinche pendejo, shupame la berga

      Eliminar
    3. Mi ria Brenda te pegara cn la fusta de loa Justicia.y XfAVOR sigue a POllino en PUF

      Eliminar
    4. Llo sigo a Gokú777 en Yutuf, es mi dios, hadora tmbn a thecristianrep888 en yutuf i a @thu_moreno19_tekieromininia en instajram, pelotudo reputo al cuadrado

      Eliminar
  2. Oye tu pendejo eres un repelotudo,reputo,ahhhh si y otra cosa ojala donald trump te ponga un muro en tu cabeza desgraciado pinche voludo,y no me funciona esta mierda de fstgrafics no me entero de na y viVA dayas reviwew.Sigue a Alvaro4096 en Youtube e Instagram

    ResponderEliminar