Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #2775
| Newsgroups | comp.lang.postscript |
|---|---|
| From | Peter Billam <peter@www.pjb.com.au> |
| Subject | Re: a smooth curve through given points ? |
| References | <slrnnqr130.4f6.peter@box8.pjb.com.au> <3243f726-6885-4ae2-aac9-f8834261dc73@googlegroups.com> <slrnnqtqv6.48s.peter@box8.pjb.com.au> <slrnnr250f.1ol.peter@box8.pjb.com.au> <norbmp$7mt$1@reader2.panix.com> |
| Message-ID | <slrnnr3382.451.peter@box8.pjb.com.au> (permalink) |
| Date | 2016-08-15 09:36 +0000 |
| Organization | Unlimited download news at news.astraweb.com |
On 2016-08-15, John Forkosh <forkosh@panix.com> wrote: > Very nice. I tested it with various other x,y1...x,yn's, > and it seems to behave pretty nicely for the stuff I tested. I found a bit of a problem when I tried [ 250 300 240 400 260 390 250 600 ] points2curve stroke in other words with a short segment at an acute angle (around p4); I decided that in order to calculate p3 and p5 it's safer to scale with the _shorter_ of the two segments. So when I wrote that: and I think if p1-to-p4 is a long segment and p4-to-p7 is a short one, then it probably looks better if p3-to-p4 is reasonable in the p1-to-p4 context, and p4-to-p5 reasonable in its p4-to-p7 context. Needs trying out well I tried it, and it turned out luser.droog was right :-) So anyway, the currently quite useable version is rolled into http://www.pjb.com.au/comp/line_drawing.html#points2curve as planned, and you can get it in http://www.pjb.com.au/comp/free/line_drawing.ps.txt or in github: https://github.com/peterbillam/postscriptlib but I can also post the new procedure here if people want ... I'll road-test it a bit over the next few days. > Like you, I put together some ps for "arty stuff" (your > words above), and you might find some of that useful. See > http://www.forkosh.com/images/decorative/decorative13.jpg > for an example. Same_directory/decorative13.ps has all the ps. Very nice :-) With that kind of image, I always dream about gradually changing the parameters, generating hundreds of them (maybe 1600x900) and putting them together into a movie ! (thinks: fame, fortune) but I never get around to it, though. Peter -- Peter Billam www.pjb.com.au www.pjb.com.au/comp/contact.html
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
a smooth curve through given points ? Peter Billam <peter@www.pjb.com.au> - 2016-08-12 08:10 +0000
Re: a smooth curve through given points ? Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-08-12 01:12 -0700
Re: a smooth curve through given points ? tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2016-08-12 21:59 -0400
Re: a smooth curve through given points ? tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2016-08-13 22:42 -0400
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-08-12 21:49 -0700
Re: a smooth curve through given points ? Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-08-12 21:59 -0700
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-08-12 22:21 -0700
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-08-18 15:01 -0700
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-08-19 13:10 -0700
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-08-19 13:13 -0700
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-08-12 22:00 -0700
Re: a smooth curve through given points ? Peter Billam <peter@www.pjb.com.au> - 2016-08-13 09:44 +0000
Re: a smooth curve through given points ? Peter Billam <peter@www.pjb.com.au> - 2016-08-15 01:00 +0000
Re: a smooth curve through given points ? John Forkosh <forkosh@panix.com> - 2016-08-15 03:08 +0000
Re: a smooth curve through given points ? Peter Billam <peter@www.pjb.com.au> - 2016-08-15 09:36 +0000
Re: a smooth curve through given points ? JohnF <john@please.see.sig.for.email.com> - 2016-08-16 01:28 +0000
Re: a smooth curve through given points ? Peter Billam <peter@www.pjb.com.au> - 2016-08-16 23:32 +0000
Re: a smooth curve through given points ? tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2016-08-17 01:07 -0400
Re: a smooth curve through given points ? JohnF <john@please.see.sig.for.email.com> - 2016-08-14 06:17 +0000
Re: a smooth curve through given points ? jdaw1 <jdawiseman@gmail.com> - 2016-08-16 03:14 -0700
Re: a smooth curve through given points ? Alan <alan.isaac@gmail.com> - 2016-08-18 14:42 -0700
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-08-18 15:19 -0700
Re: a smooth curve through given points ? Alan <alan.isaac@gmail.com> - 2016-08-18 18:52 -0700
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-08-18 21:47 -0700
Re: a smooth curve through given points ? Alan <alan.isaac@gmail.com> - 2016-08-19 06:01 -0700
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-08-19 14:06 -0700
Re: a smooth curve through given points ? luser droog <luser.droog@gmail.com> - 2016-11-03 22:03 -0700
Re: a smooth curve through given points ? JohnF <john@please.see.sig.for.email.com> - 2016-11-05 05:19 +0000
Re: a smooth curve through given points ? don lancaster <don@tinaja.com> - 2016-11-05 10:12 -0700
csiph-web