File:DeCasteljau1.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

DeCasteljau1.png(600 × 300 pixels, file size: 15 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

File:DeCasteljau1.svg is a vector version of this file. It should be used in place of this PNG file when not inferior.

File:DeCasteljau1.png → File:DeCasteljau1.svg

For more information, see Help:SVG.

In other languages
Alemannisch  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
New SVG image

Description

author: Przemysław Koprowski source: created by in Asymptote description: This image depictes the de Casteljau algorithm geometrically data: created on 7th of October 2006

Asymptote sources

Here are the Asymptote sources of the image in case someone wants to modifie it.

size(10cm,4cm);

real t = 0.33;

pair[][] P = {{(0,0), (0.25,1.5), (1,2), (1,0)},
 {(0,0), (0.5,1), (1,2), (1,0)},
 {(0,0), (0.5,1), (1,2), (1,0)},
 {(0,0), (0.5,1), (1,2), (1,0)}};
path C[] = {nullpath, nullpath, nullpath, nullpath};
path g,ctr,d;
g = P[0][0]..controls P[0][1] and P[0][2]..P[0][3];
d = scale(0.025)*unitcircle;

int i,j,k;
C[0] = P[0][0]--P[0][1]--P[0][2]--P[0][3];
for(i = 1; i <= 3; ++i) {
for(j = 0; j <= 3-i; ++j) {
    P[i][j] = (1-t)*P[i-1][j] + t*P[i-1][j+1];
    C[i] = C[i]--P[i][j];
}
}

for(k =  0; k < 3; ++k) {
    draw(shift((2*k,0)) * C[k]);
    for(i = 0; i < 4-k; ++i) {
        string L = format("$P_%d$",i);
        label(L, shift((2*k,0)) * P[k][i], i < (4-k)/2 ? W : E);
    filldraw(shift((2*k,0)) * shift(P[k][i])*d);
}
    draw(shift((2*k,0)) * C[k+1], dashed);
    for(i = 0; i < 3-k; ++i)
    draw(shift((2*k,0)) * shift(P[k+1][i])*d);
    draw(shift((2*k,0)) * g);
}
Date 7 October 2006 (original upload date)
Source Transferred from en.wikipedia to Commons.
Author Pkoprowski at English Wikipedia

Licensing[edit]

Public domain This work has been released into the public domain by its author, Pkoprowski at English Wikipedia. This applies worldwide.
In some countries this may not be legally possible; if so:
Pkoprowski grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Original upload log[edit]

The original description page was here. All following user names refer to en.wikipedia.
  • 2006-10-07 17:19 Pkoprowski 600×300×8 (15317 bytes) author: Przemysław Koprowski (myself) source: created by me in Asymptote description: This image depictes the de Casteljau algorithm geometrically data: created on 7th of October 2006

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:53, 18 March 2007Thumbnail for version as of 19:53, 18 March 2007600 × 300 (15 KB)Angusmclellan (talk | contribs){{Information |Description=author: Przemysław Koprowski source: created by in [http://asymptote.sourceforge.net/ Asymptote] description: This image depictes the de Casteljau algorithm geometrically data: created on 7th of October 2006 == Asymptote sour

The following page uses this file: