Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I don't know why I made this... But I did...
#1
Code:
import time
import os
def part1():
    os.system("clear")
    print "    -   - "
    print "     ---  "
    print "      -   "
    print "  --------"
    print "      -   "
    print "      -   "
    print "     - -  "
    print "    -   - "
    print "  -      -"
    time.sleep(1)    
    os.system("clear")
def part2():    
    print "      -   - "
    print "       ---  "
    print "        -   "
    print "    --------"
    print "        -   "
    print "        -   "
    print "       - -  "
    print "      -   - "
    print "    -      -"
    time.sleep(1)    
    os.system("clear")
def part3():    
    print "        -   - "
    print "         ---  "
    print "          -   "
    print "      --------"
    print "          -   "
    print "          -   "
    print "         - -  "
    print "        -   - "
    print "      -      -"
    time.sleep(1)
    os.system("clear")
while True:
    part1()
    part2()
    part3()
    part2()
    part1()

Maybe someone can take this concept and make a little movie Big Grin
Heres a cool design I was able to make with this concept
Code:
import time
import os
def part1():
    print " ===================.  .  .  .  .  .  .  .  .  .==================="
def part2():
    print "  ===================.  .  .  .  .  .  .  .  .  .==================="
def part3():
    print "   ===================.  .  .  .  .  .  .  .  .  .==================="
def part4():
    print "    ===================.  .  .  .  .  .  .  .  .  .==================="
def part5():
    print "     ===================.  .  .  .  .  .  .  .  .  .==================="
def part6():    
    print "      ===================.  .  .  .  .  .  .  .  .  .==================="
def part7():
    print "       ===================.  .  .  .  .  .  .  .  .  .==================="
while True:
    part1()
    time.sleep(0.1)
    part2()
    time.sleep(0.1)
    part3()
    time.sleep(0.1)
    part4()
    time.sleep(0.1)
    part5()
    time.sleep(0.1)
    part6()
    time.sleep(0.1)
    part7()
    time.sleep(0.1)
    part6()
    time.sleep(0.1)
    part5()
    time.sleep(0.1)
    part4()
    time.sleep(0.1)
    part3()
    time.sleep(0.1)
    part2()
    time.sleep(0.1)
    part1()
Reply


Messages In This Thread
I don't know why I made this... But I did... - by nevets04 - 10-23-2009, 07:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)