TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: DAVID WILLIAMS
from: Jasen Betts
date: 2003-01-07 07:01:08
subject: something to play with

Hi DAVID.

05-Jan-03 20:42:46, DAVID WILLIAMS wrote to ALL

 DW> -----------------------------------------------------
 DW>
 DW> ' ROTATE.BAS

SUB TWIST2 (DI)

  ; this one'll work in colour too.

  LINE (79, 0)-(79, 479)    ') These lines, plus top and bottom of
  LINE (561, 0)-(561, 479)  ') screen, outline the square
  IF DI THEN

  FOR C = 0 TO 239
  FOR O = -C TO C

  w = POINT(319 - C, 240 + O)
  x = POINT(319 - O, 239 - C)
  y = POINT(320 + C, 239 - O)
  z = POINT(320 + O, 240 + C)

  PSET (319 - C, 240 + O), z
  PSET (319 - O, 239 - C), w
  PSET (320 + C, 239 - O), x
  PSET (320 + O, 240 + C), y

NEXT
NEXT
ELSE

  FOR C = 0 TO 239
  FOR O = -C TO C

  w = POINT(319 - C, 240 + O)
  x = POINT(319 - O, 239 - C)
  y = POINT(320 + C, 239 - O)
  z = POINT(320 + O, 240 + C)

  PSET (319 - C, 240 + O), x
  PSET (319 - O, 239 - C), y
  PSET (320 + C, 239 - O), z
  PSET (320 + O, 240 + C), w

  NEXT
  NEXT

END IF
END SUB

 -=> Bye <=-

---
* Origin: Success is a journey, not a destination. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.