קובץ:Circle2heart.png
מתוך testwiki
קפיצה לניווט
קפיצה לחיפוש
גודל התצוגה המקדימה הזאת: 800 × 400 פיקסלים. רזולוציות אחרות: 320 × 160 פיקסלים | 640 × 320 פיקסלים | 1,000 × 500 פיקסלים.
לקובץ המקורי (1,000 × 500 פיקסלים, גודל הקובץ: 8 ק"ב, סוג MIME: image/png)
זהו קובץ מתוך ויקישיתוף וניתן להשתמש בו גם במיזמים אחרים. תיאורו בדף תיאור הקובץ שלו מוצג למטה.
תקציר
| תיאורCircle2heart.png |
English: Circle to non-cardioid heart curve mapping. |
||
| תאריך יצירה | |||
| מקור | Own work by uploader in Maxima and Gnuplot with help of many people ( see references ) | ||
| יוצר | Adam majewski | ||
| גרסאות אחרות |
|
Long description
"It's not complex-analytic, but
makes nice-looking heart shapes out of circles centered on the origin (different for different radii)" [1]
so in Maxima notation :
- point of circle is w :
w:x+y*%i;
- point of heart curve is
c:x+f(w)*%i;
where
f(w):=sqrt(abs(realpart(w)))-imagpart(w);
Compare it with
- Image showing non-cardioid heart curve as a shadow of ring
- similar image, but different position of ring
- Conformal mapping from circle to cardioid
- Image GJL-fft-herz.png
- File:Simple 4-quadrant heart curve.svg
- Image made by Monguin61 using MATLAB
Maxima source code
/*
batch file for maxima
mapping from :
the circle with center=0 and radius=r
given by equation : abs(2*z)=1
where : z:x+y*%i=r*cos(t)+%i*r*sin(t) =
onto
non-cardioid heart curve
is given by equation:
c:x+(sqrt(abs(x))- y)*%i;
*/
/* */
f(w):=sqrt(abs(realpart(w)))-imagpart(w);
iMax:1000; /* number of points to draw */
dt:1/iMax;
r:4; /* radius of circle */
/*
circle D={w:abs(2w)=1 } where w=l(t)
t is angle in turns ; 1 turn = 360 degree = 2*Pi radians
*/
l(t):=r*%e^(%i*t*2*%pi)/2;
/* point to point method of drawing */
t:0; /* angle in turns */
/* compute first point of curve, create list and save point to this list */
/* point of unit circle w:l(t); */
w:rectform(ev(l(t), numer)); /* "exponential form prevents allroots from working", code by Robert P. Munafo */
circleList:makelist (w, j, 1, 1);
for i:1 thru iMax step 1 do
block
(t:t+dt,
w:rectform(ev(l(t), numer)), /* "exponential form prevents allroots from working", code by Robert P. Munafo */
circleList:cons(w,circleList)
);
/* convert one list into 2 lists */
xxCircle:map(realpart, circleList);
yyCircle:map(imagpart, circleList);
/* convert one list into 2 lists and maps */
xxHeart:map(realpart, circleList);
yyHeart:map(f, circleList);
load(draw); /* Mario Rodríguez Riotorto http://www.telefonica.net/web2/biomates/maxima/gpdraw/index.html archive copy at the Wayback Machine */
draw(file_name = "a",
terminal = 'png, pic_width = 1000,
pic_height = 500,
columns = 2,
gr2d(title = " circle D={w:abs(2*w)=4 } ",
points_joined =true,
color = red,
point_type = 0,
points(xxCircle,yyCircle)),
gr2d(title = "non-cardioid heart shape curve ",
points_joined =true,
color = blue,
point_type = 0,
points(xxHeart,yyHeart))
);
References
- ↑ Answer by wiki user BenRG on Reference desk
רישיון
אני, בעל זכויות היוצרים על היצירה הזאת, מפרסם אותה בזאת תחת הרישיונות הבאים:
הקובץ הזה מתפרסם לפי תנאי רישיון קריאייטיב קומונז ייחוס-שיתוף זהה 3.0 לא מותאם.
- יש לך חופש:
- לשתף – להעתיק, להפיץ ולהעביר את העבודה
- לערבב בין עבודות – להתאים את העבודה
- תחת התנאים הבאים:
- ייחוס – יש לתת ייחוס הולם, לתת קישור לרישיון, ולציין אם נעשו שינויים. אפשר לעשות את זה בכל צורה סבירה, אבל לא בשום צורה שמשתמע ממנה שמעניק הרישיון תומך בך או בשימוש שלך.
- שיתוף זהה – יצירת רמיקס, שינוי או בנייה על סמך החומר הזה, תטיל עליך חובה להפיץ את התרומות שלך לפי תנאי רישיון זהה או תואם למקור.
| מוענקת בכך הרשות להעתיק, להפיץ או לשנות את המסמך הזה, לפי תנאי הרישיון לשימוש חופשי במסמכים של גנו, גרסה 1.2 או כל גרסה מאוחרת יותר שתפורסם על־ידי המוסד לתוכנה חופשית; ללא פרקים קבועים, ללא טקסט עטיפה קדמית וללא טקסט עטיפה אחורית. עותק של הרישיון כלול בפרק שכותרתו הרישיון לשימוש חופשי במסמכים של גנו.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
אפשר לבחור את הרישיון שמתאים לך.
כיתובים
נא להוסיף משפט שמסביר מה הקובץ מייצג
פריטים שמוצגים בקובץ הזה
מוצג
ערך כלשהו ללא פריט ויקינתונים
9 בדצמבר 2008
image/png
8,045 בית
500 פיקסל
1,000 פיקסל
היסטוריית הקובץ
ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.
| תאריך/שעה | תמונה ממוזערת | ממדים | משתמש | הערה | |
|---|---|---|---|---|---|
| נוכחית | 21:56, 9 בדצמבר 2008 | 500 × 1,000 (8 ק"ב) | wikimediacommons>Soul windsurfer | {{Information |Description=more points gives better image |Source= |Date= |Author= |Permission= |other_versions= }} |
שימוש בקובץ
הדף הבא משתמש בקובץ הזה: