Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32865

Re: Bezier curves javascript

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Flng Fck <nothanks@invalid.invalid>
Newsgroups comp.lang.javascript
Subject Re: Bezier curves javascript
Date Thu, 30 Mar 2017 13:00:37 +0200
Organization A noiseless patient Spider
Lines 15
Message-ID <obiob6$ade$1@dont-email.me> (permalink)
References <ca459e88-12a9-479c-8696-29d9f7614288@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 30 Mar 2017 10:57:42 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="ca61719fee30b6024c965d867435376a"; logging-data="10670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196+QLnfenrYluVXpwZeftk"
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
In-Reply-To <ca459e88-12a9-479c-8696-29d9f7614288@googlegroups.com>
Cancel-Lock sha1:23RDUdZQkXF1yMDj+fWSA8sV/0g=
Xref csiph.com comp.lang.javascript:32865

Show key headers only | View raw


Il 27/03/2017 18:34, jonas.thornvall@gmail.com ha scritto:
> I was thinking adding bezier curves but when i look at the functions bezierCurveTo() and quadraticCurveTo() they only take one or two parameters?
>
> I think i remember from doing bezier curves in pascal, tha you basicly could have any number of points?
>
> If so what is the reason for the functions just holding one or two points for the curve?
>
> If you bother implement it why restrain what you can do with it?
> http://www.e-cartouche.ch/content_reg/cartouche/graphics/en/image/curves/giger2.jpg


This one takes 6 parameters

https://developer.mozilla.org/it/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bezier curves javascript jonas.thornvall@gmail.com - 2017-03-27 09:34 -0700
  Re: Bezier curves javascript jonas.thornvall@gmail.com - 2017-03-27 09:44 -0700
    Re: Bezier curves javascript jonas.thornvall@gmail.com - 2017-03-27 09:49 -0700
      Re: Bezier curves javascript jonas.thornvall@gmail.com - 2017-03-29 09:50 -0700
  Re: Bezier curves javascript Flng Fck <nothanks@invalid.invalid> - 2017-03-30 13:00 +0200
    Re: Bezier curves javascript jonas.thornvall@gmail.com - 2017-03-30 04:39 -0700
      Re: Bezier curves javascript jonas.thornvall@gmail.com - 2017-03-30 06:32 -0700
      Re: Bezier curves javascript jonas.thornvall@gmail.com - 2017-03-30 06:35 -0700
        Re: Bezier curves javascript jonas.thornvall@gmail.com - 2017-03-30 16:09 -0700
      Re: Bezier curves javascript Flng Fck <nothanks@invalid.invalid> - 2017-04-03 10:49 +0200
        Re: Bezier curves javascript jonas.thornvall@gmail.com - 2017-04-03 02:21 -0700

csiph-web