File:DeCasteljau1.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 336 × 142 pixels. Other resolutions: 320 × 135 pixels | 640 × 270 pixels | 1,024 × 433 pixels | 1,280 × 541 pixels | 2,560 × 1,082 pixels.
Original file (SVG file, nominally 336 × 142 pixels, file size: 20 KB)
File information
Structured data
Captions
DescriptionDeCasteljau1.svg | Depicts the de Casteljau algorithm geometrically data: created on 7th of October 2006 |
Date | (UTC) |
Source | |
Author |
|
SVG development InfoField | This vector image was created with Asymptote. |
Source code InfoField | Asymptote codeimport settings;
outformat="pdf";
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);
}
|
This is a retouched picture, which means that it has been digitally altered from its original version. The original can be viewed here: DeCasteljau1.png: .
|
I, the copyright holder of this work, hereby publish it under the following license:
Public domainPublic domainfalsefalse |
This work has been released into the public domain by its author, Example, at the [[::|English Wikipedia]] project. This applies worldwide. In case this is not legally possible: |
Original upload log[edit]
This image is a derivative work of the following images:
- File:DeCasteljau1.png licensed with PD-user-w
- 2007-03-18T19:53:43Z Angusmclellan 600x300 (15317 Bytes) {{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 O
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 11:28, 30 October 2009 | 336 × 142 (20 KB) | LennyWikipedia~commonswiki (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 |
You cannot overwrite this file.
File usage on Commons
The following 2 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on el.wikipedia.org
- Usage on en.wikipedia.org
- Usage on en.wikiversity.org
- Usage on fa.wikipedia.org
- Usage on he.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on uk.wikipedia.org