Quick Basic in Application

Archive for July 25th, 2008

Clock

Posted by: programmervb on: July 25, 2008

DECLARE SUB Face (Min$)
SCREEN 9
MAIN:
COLOR 0, 0: CLS
Min$ = MID$(TIME$, 4, 2)
COLOR 2 ‘ Draw clock face.
Face Min$
‘COLOR 11: LOCATE 1, 26: PRINT “CopyLeft2008 solution software qbasiccode.wordpress.com”
COLOR 14: LOCATE 10, 58: PRINT “SYSTEM  TIME”: LOCATE 10, 8: PRINT “SYSTEM  DATE”
COLOR 4:   LOCATE 9, 9: PRINT DATE$
‘locate 12,
‘COLOR 5: LOCATE 23, 26: PRINT “  press any [...]

Tags:

Mirroring and Scaling Algorythms

Posted by: programmervb on: July 25, 2008

Mirroring and scaling algorythms
I am sure you know what scaling is, but you might ask me where the mirroring comes in. Well, the scaling algorythm is similar to the mirroring algorythm, except the second one is incredibly simple. Let’s start with the beginning. I first heard of mirroring when I saw some pictures on the [...]