ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Zhichu Chen <zhichu.chen@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How can I compare picture variables in metapost?
Date: Tue, 5 May 2009 21:51:25 +0800	[thread overview]
Message-ID: <769ba7780905050651l6c8601aer421b04c1b7e1c20c@mail.gmail.com> (raw)
In-Reply-To: <4A00366A.1040907@elvenkind.com>

Hi Taco,

On Tue, May 5, 2009 at 8:51 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
> Zhichu Chen wrote:
>>
>> Hi all,
>>
>> I want to draw some paths that won't intersect with each other
>> in metapost. Those paths are generated "randomly," e.g., draw
>> 100 circles without any intersections. I use a very stupid
>> way like:
>
> I am probably missing something, because the fastest way to
> draw  100 non-intersecting paths is just by having them in
> a grid. You don't seem to want that, so: what do you want,
> exactly? (be warned that "marble fill" is pretty hard).

Nice to have your attention.

Those paths are not meant to be somewhere and they appear
randomly. Like one path can have a neighbor very close to it
and another path may be not so close to any of the other
ones. Basically, they are not organized, they can't form a lattice.

What I want exactly is how to determine if there's anything on
some region of the picture. I need this to test if the random
point I picked is useful.

I don't think putting them in a grid is what I want. That'll just
make those objects look like they are sorted and kind of like
it's a fake picture which is generated intentionally.

I hope I haven't make you even more confused.

>
> Best wishes,
> Taco
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>



-- 
Best Regards
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2009-05-05 13:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05 12:27 Zhichu Chen
2009-05-05 12:51 ` Taco Hoekwater
2009-05-05 13:51   ` Zhichu Chen [this message]
2009-05-05 15:04     ` Taco Hoekwater
2009-05-05 15:19       ` Zhichu Chen
2009-05-05 16:06         ` Taco Hoekwater
2009-05-05 16:54           ` Taco Hoekwater
2009-05-05 21:42             ` Peter Rolf
2009-05-05 23:28               ` Aditya Mahajan
2009-05-06  1:46                 ` Zhichu Chen
2009-05-06  2:10                   ` Aditya Mahajan
2009-05-06  3:09                     ` Aditya Mahajan
2009-05-06  9:06                 ` Peter Rolf
2009-05-05 22:57         ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=769ba7780905050651l6c8601aer421b04c1b7e1c20c@mail.gmail.com \
    --to=zhichu.chen@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).