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