Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1203
| From | Don Lancaster <don@tinaja.com> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: help hacking halftones |
| Date | 2012-12-28 08:22 -0700 |
| Message-ID | <ak5rpkFss3eU1@mid.individual.net> (permalink) |
| References | <3c7e371c-8439-4503-9ed6-499e1f3bd76c@googlegroups.com> |
On 12/25/2012 11:50 PM, luser- -droog wrote:
> There have been two excellent postscript answers to http://codegolf.stackexchange.com/questions/9266/emulate-a-7-segment-display "Emulate a 7-segment display"
>
> And I wanted to try a different approach. I've pretty much given up on trying to golf this, but here's what I got.
>
> Instead of passing in as a defined name, wouldn't it be "shorter" to just place it on the stack with -c "1101101" ?
>
> So that led me to this mess:
>
> 1 (1101101)
> 2 0
> 3 1 index
> 4 {1 and 255 mul 3 copy put pop 1 add}forall
> 5 pop
> 6 dup
> 7 dup
> 8 3 5 8[.02 0 0 .05 0 0]{}image
>
> It doesn't place pixels correctly, but does give you big blobs on the screen controlled by ascii-binary.
>
> But then, I thought, the 7-segment display itself is a little grid controlled by a function. Could we abuse the spot function to active pixels (I mean, "cells", of course, super-zoomed) individually?
>
> But I've been beating my head over how the halftones are supposed to work. I have no idea as yet how to begin abusing them. :(
>
The secret halftone maps appear at
< http://www.tinaja.com/glib/pssecrets.pdf >
--
Many thanks,
Don Lancaster voice phone: (928)428-4073
Synergetics 3860 West First Street Box 809 Thatcher, AZ 85552
rss: http://www.tinaja.com/whtnu.xml email: don@tinaja.com
Please visit my GURU's LAIR web site at http://www.tinaja.com
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
help hacking halftones luser- -droog <mijoryx@yahoo.com> - 2012-12-25 22:50 -0800
Re: help hacking halftones Don Lancaster <don@tinaja.com> - 2012-12-28 08:22 -0700
Re: help hacking halftones Ross Presser <rpresser@gmail.com> - 2012-12-28 07:56 -0800
csiph-web