|
-
Jan 11th, 2001, 09:59 AM
#1
Hi!
Anybody know how to make the "snow" effect a TV makes when you pull the antenna?
I've tried Pset with different colors on random positions. That makes a good snow effect, but is REALLY slow. I thought of creating the "Snow" once, then looping the pallette? Is that any idea? This is how I used to make snow on my (ahem) Amiga and C64....
Any ideas are welcome...
-
Jan 11th, 2001, 10:38 AM
#2
transcendental analytic
Look up the direct memory access demo on this page
http://www.ur.co.nz/
I guess you just loop trough all pixels and set a random grey value to each like this: int(rnd*256)*&H10101
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jan 13th, 2001, 01:58 PM
#3
Thanks, Kedaman!, but I can't find anything over there that'll help me... Any other ideas?
-
Jan 13th, 2001, 02:05 PM
#4
transcendental analytic
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|