home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / postscri / 5633 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.4 KB  |  37 lines

  1. Newsgroups: comp.lang.postscript
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!news
  3. From: ab@nova.cc.purdue.edu (Allen B)
  4. Subject: Re: How to do refresh screen in postscript
  5. Message-ID: <By0uBC.A76@mentor.cc.purdue.edu>
  6. Sender: news@mentor.cc.purdue.edu (USENET News)
  7. Organization: Purdue University
  8. References: <1eh651INN16g@euler.Warren.MENTORG.COM>
  9. Date: Fri, 20 Nov 1992 15:42:46 GMT
  10. Lines: 25
  11.  
  12. In article <1eh651INN16g@euler.Warren.MENTORG.COM> sharma@Warren.MENTORG.COM  
  13. (Sharma Kunapalli) writes:
  14. > Hi All,
  15. >     I have recently started to learn postscript.
  16. > What I want to be able to do is...
  17. > ...in a sense is animation. Is this at all possible
  18. > using postscript? (I am more interested in the pause, 
  19. > delete and refresh features)
  20.  
  21. Yes, but it depends somewhat on your environment.  I've
  22. written files like that and the old Preview on the NeXT
  23. would display them the way I wanted, but most would cache
  24. all the stuff up and wouldn't display it in real-time.
  25.  
  26. You can make a "flip book" by making each frame a page and
  27. putting in the proper DSC for each.  Then you can flip it on
  28. the screen with a previewer.
  29.  
  30. Usually, you'd want to do the display part in PostScript
  31. and the timing and frame advancement in another way.  What
  32. environment is this to run in?
  33.  
  34. ---
  35. save /- 1 string def[331 64 779242 46 396 46 871217102 46 14782 10]{dup
  36. 99 lt{- 0 3 -1 roll put -}{32 =string cvrs}ifelse print} forall restore
  37.