public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: kawa@sourceware.org
Subject: Re: (kawa pictures) procedural interface for point and dimension?
Date: Sun, 23 Oct 2016 23:09:00 -0000	[thread overview]
Message-ID: <c6de7e4e-cf65-022a-11af-d7b3fee5ba9f@bothner.com> (raw)
In-Reply-To: <1051.1477261371@vereq.eip10.org>



On 10/23/2016 03:22 PM, Sudarshan S Chawathe wrote:
> I have a feeling I may have missed or misread something obvious, but I
> didn't find an answer to:
>
> What is the recommended way to create points (and dimensions)
> procedurally in the (kawa pictures) library?

Is there any problems with just using the &P[x y] and &D[w h] syntax?

The documentation should probably be clearer and show examples that x/y/w/h are
actually expressions - they don't have to be constant:
    
    &P[(sqrt 3) (+ 5 6)]

> By the way, I find the pictures library to be fun.  I especially like
> the SVG output feature.  Thanks for adding it (and for kawa)!

Great.  I've been thinking about extensions: Text, animations,
interactive widgets would all be cool, but all involve a number
of complicated issues, so they'll have to wait.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

  reply	other threads:[~2016-10-23 23:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-23 22:23 Sudarshan S Chawathe
2016-10-23 23:09 ` Per Bothner [this message]
2016-10-23 23:54   ` Sudarshan S Chawathe
2016-10-24 14:25   ` Sudarshan S Chawathe

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=c6de7e4e-cf65-022a-11af-d7b3fee5ba9f@bothner.com \
    --to=per@bothner.com \
    --cc=kawa@sourceware.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).