xboxscene.org forums

Author Topic: Abstract Art Via Actionscript  (Read 121 times)

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Abstract Art Via Actionscript
« on: April 24, 2004, 01:33:00 PM »

CODE
BeginDraw
Set Ly 480
For Lx = 0 to 640
  Line 0 %Ly% %Lx% %Ly% RED
  Line %Lx% %Ly% 0 %Lx% ORANGE
  Sub Ly 1
Next

Set Ly 0
For Lx = 0 to 480
  Line 0 0 %Ly% %Lx% RED
  Line %Ly% 0 0 %Lx% ORANGE
  Line %Lx% %Lx% 0 0 RED
  Add Ly 1
Next
EndDraw


Pretty cool right? ....right?
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Abstract Art Via Actionscript
« Reply #1 on: April 24, 2004, 03:16:00 PM »

blink.gif

I'll have to probably polish up the screenshot capability, won't I?
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Abstract Art Via Actionscript
« Reply #2 on: April 24, 2004, 07:30:00 PM »

smile.gif
*wondering... isn't that a couple thousand lines?
What's wrong with the screenshot capability?
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Abstract Art Via Actionscript
« Reply #3 on: April 24, 2004, 07:31:00 PM »

In the first one, where it looks kinda shaded. On the the tv it is a swirly effect.
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Abstract Art Via Actionscript
« Reply #4 on: April 24, 2004, 07:33:00 PM »

How about seeing about dumping screen capture strait to png or jpg format?
Logged