לדלג לתוכן

קובץ:RandomWalk.gif

תוכן הדף אינו נתמך בשפות אחרות.
מתוך ויקיפדיה, האנציקלופדיה החופשית

RandomWalk.gif(128 × 128 פיקסלים, גודל הקובץ: 505 ק"ב, סוג MIME‏: image/gif, בלולאה, 501 תמונות, 15 שניות)

ויקישיתוף זהו קובץ שמקורו במיזם ויקישיתוף. תיאורו בדף תיאור הקובץ המקורי (בעברית) מוצג למטה.

תקציר

תיאור A brownian motion-like random walk of three particles (from the same starting position) for 10000 steps; frames illustrate every tenth step with colour fading to simulate motion blur/persistence of vision. Individual random walks created with ImageJ (for the macro see below), the colours inverted, and combined to a single RGB image.
תאריך יצירה
מקור I created this work entirely by myself.
יוצר Richard Wheeler (Zephyris)

ImageJ Macro

newImage("Random Walk", "8-bit White", 128, 128, 1);
length=5000;
bias=0.0;
setColor(255);
x=round(getWidth()/2);
y=round(getHeight()/2);
setPixel(x,y,0);
drand=random();
if (drand>=0 && drand<0.125) {
dir=1;
} else if (drand>=0.125 && drand<0.250) {
dir=2;
} else if (drand>=0.250 && drand<0.375) {
dir=3;
} else if (drand>=0.375 && drand<=0.500) {
dir=4;
} else if (drand>=0.500 && drand<=0.625) {
dir=5;
} else if (drand>=0.625 && drand<=0.750) {
dir=6;
} else if (drand>=0.750 && drand<=0.875) {
dir=7;
} else if (drand>=0.875 && drand<=1) {
dir=8;
}
for (l=0; l<length/10; l++) {
setSlice(l+1);
for (j=0; j<10; j++) {
if (random()<=bias) {
dir=dir;
} else {
drand=random();
if (drand>=0 && drand<0.125) {
dir=1;
} else if (drand>=0.125 && drand<0.250) {
dir=2;
} else if (drand>=0.250 && drand<0.375) {
dir=3;
} else if (drand>=0.375 && drand<=0.500) {
dir=4;
} else if (drand>=0.500 && drand<=0.625) {
dir=5;
} else if (drand>=0.625 && drand<=0.750) {
dir=6;
} else if (drand>=0.750 && drand<=0.875) {
dir=7;
} else if (drand>=0.875 && drand<=1) {
dir=8;
}
}
if (dir==1) {
x=x+1;
y=y;
} else if (dir==2) {
x=x;
y=y+1;
} else if (dir==3) {
x=x-1;
y=y;
} else if (dir==4) {
x=x;
y=y-1;
} else if (dir==5) {
x=x+1;
y=y+1;
} else if (dir==6) {
x=x+1;
y=y-1;
} else if (dir==7) {
x=x-1;
y=y+1;
} else if (dir==8) {
x=x-1;
y=y-1;
}
if (x>=getWidth()) {
x=0;
} else if (x<0) {
x=getWidth()-1;
}
if (y>=getHeight()) {
y=0;
} else if (y<0) {
y=getHeight()-1;
}
setPixel(x,y,0+25.5*j);
updateDisplay();
}
run("Add Slice");
run("Select All");
fill();
}

רישיון

wikipedia user Zephyris, בעל זכויות היוצרים על היצירה הזאת, מפרסם אותה בזאת תחת הרישיון הבא:
GNU head מוענקת בכך הרשות להעתיק, להפיץ או לשנות את המסמך הזה, לפי תנאי הרישיון לשימוש חופשי במסמכים של גנו, גרסה 1.2 או כל גרסה מאוחרת יותר שתפורסם על־ידי המוסד לתוכנה חופשית; ללא פרקים קבועים, ללא טקסט עטיפה קדמית וללא טקסט עטיפה אחורית. עותק של הרישיון כלול בפרק שכותרתו הרישיון לשימוש חופשי במסמכים של גנו.

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג

פריטים שמוצגים בקובץ הזה

מוצג

היסטוריית הקובץ

ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית18:09, 5 בפברואר 2010תמונה ממוזערת לגרסה מ־18:09, 5 בפברואר 2010‪128 × 128‬ (505 ק"ב)Toobaz== Summary == {{Information |Description = A brownian motion-like random walk of three particles (from the same starting position) for 10000 steps; frames illustrate every tenth step with colour fading to simulate motion blur/persistence of visio

אין בוויקיפדיה דפים המשתמשים בקובץ זה.

שימוש גלובלי בקובץ

אתרי הוויקי השונים הבאים משתמשים בקובץ זה: