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


Groups > comp.lang.javascript > #32865

Re: Bezier curves javascript

From Flng Fck <nothanks@invalid.invalid>
Newsgroups comp.lang.javascript
Subject Re: Bezier curves javascript
Date 2017-03-30 13:00 +0200
Organization A noiseless patient Spider
Message-ID <obiob6$ade$1@dont-email.me> (permalink)
References <ca459e88-12a9-479c-8696-29d9f7614288@googlegroups.com>

Show all headers | 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