Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Sexy Sinewave

Name: !8ll0DtPXyM 2007-09-23 11:41 ID:OtupIRI+

FOR t=0 TO 80 STEP .25
a=int(SIN(t)*20)+20
gosub [print]

NEXT t

goto [end]
[print]
for p=1 to a
print" ";
next p
print"X"
return

[end]

Oh yea... look at those curves...

Name: !8ll0DtPXyM 2007-09-23 11:43 ID:OtupIRI+


                    X
                        X
                             X
                                 X
                                    X
                                      X
                                       X
                                       X
                                      X
                                   X
                               X
                           X
                      X
                  X
             X
         X
     X
   X
 X
 X
 X
   X
      X
          X
               X
                    X
                        X
                             X
                                 X
                                    X
                                      X
                                       X
                                       X
                                      X
                                   X
                                X
                            X
                       X
                   X
              X
          X
      X
   X
 X
 X
 X
   X
      X
          X
              X
                   X
                       X
                            X
                                X
                                    X
                                      X
                                       X
                                       X
                                      X
                                    X
                                 X
                            X
                        X
                    X
               X
          X
      X
   X
 X
 X
 X
   X
     X
         X
              X
                   X
                      X
                           X
                                X
                                   X
                                      X
                                       X
                                       X
                                      X
                                    X
                                 X
                             X
                        X
                    X
               X
           X
       X
    X
 X
 X
 X
  X
     X
         X
             X
                  X
                      X
                           X
                               X
                                   X
                                     X
                                       X

Name: !8ll0DtPXyM 2007-09-23 11:47 ID:OtupIRI+

Or for thoose who like it niiiice and sloooow

for t=0 to 80 step .25
a=int(SIN(t)*20)+20
gosub [print]

next t

goto [end]
[print]
print tab(a);"X"
for l=1 to 9001

next
return

[end]

Name: Anonymous 2007-09-23 12:56 ID:C51QBoT6

this was an assignment in my freshman C class, except it was to be printed horizontally, yawn.

Name: Anonymous 2007-12-01 19:47

I came a little in my sleep

Name: Anonymous 2007-12-01 22:28


#include <math.h>
#include <stdio.h>

main ()
{
    float i;
    int j, a;
    for (i = 0; i <= 80; i += 0.25)
    {
        a = (int)(sin(i) * 20) + 20;
       
        for (j = 0; j <= a; j++)
            putchar (' ');
        printf ("*\n");
    }
}

Name: Anonymous 2007-12-04 5:54

BBCODE already supports DirectX, OpenGL support, on the other hand, is pretty minimal:


 ____                            __    __   __    
/\  _`\   __                    /\ \__/\ \ /\ \   
\ \ \/\ \/\_\  _ __    __    ___\ \ ,_\ `\`\/'/'  
 \ \ \ \ \/\ \/\`'__\/'__`\ /'___\ \ \/`\/ > <    
  \ \ \_\ \ \ \ \ \//\  __//\ \__/\ \ \_  \/'/\`\ 
   \ \____/\ \_\ \_\\ \____\ \____\\ \__\ /\_\\ \_\
    \/___/  \/_/\/_/ \/____/\/____/ \/__/ \/_/ \/_/

Name: Anonymous 2007-12-04 5:58

BBCODE already supports DirectX, OpenGL support, on the other hand, is pretty minimal:


 ____                            __    __   __    
/\  _`\   __                    /\ \__/\ \ /\ \   
\ \ \/\ \/\_\  _ __    __    ___\ \ ,_\ `\`\/'/'  
 \ \ \ \ \/\ \/\`'__\/'__`\ /'___\ \ \/`\/ > <    
  \ \ \_\ \ \ \ \ \//\  __//\ \__/\ \ \_  \/'/\`\ 
   \ \____/\ \_\ \_\\ \____\ \____\\ \__\ /\_\\ \_\
    \/___/  \/_/\/_/ \/____/\/____/ \/__/ \/_/ \/_/



 _____                          ____    __       
/\  __`\                       /\  _`\ /\ \      
BBCODE_StartOpenGL() - could not load OpenGL susbsystem

Name: Anonymous 2009-03-18 2:28

Don't call me gay, but I need some mary jay!

Marijuana MUST be legalized.

Don't change these.
Name: Email:
Entire Thread Thread List