پەڕگە:Animated construction of butterfly curve.gif

Animated_construction_of_butterfly_curve.gif(٥٠٠ × ٥٠٠ پیکسڵ، قەبارەی پەڕگە: ٣٫٣٣ مێگابایت، جۆری ئێم ئای ئێم ئی: image/gif، looped، ٢٠٢ frames)

ئەم پەڕگە لە Wikimedia Commonsەوەیە و لەوانەیە لە پڕۆژەکانی دیکەش بەکار ھاتبێت. پێناسەکەی لەسەر پەڕەی وەسفی پەڕگەکە لە خوارەوە نیشان دراوە.

کورتە

وەسف
English: Animated construction of the mathematical function, butterfly curve

I made this with SAGE, an open-source math package, for entertainment, as an exercise. Permalink here; original source code (not this version) follows:

#*****************************************************************************
#       Copyright (C) 2008 Dean Moore
#
#
#  Distributed under the terms of the GNU General Public License (GPL)
#                  http://www.gnu.org/licenses/
#*****************************************************************************
# Animates the construction of the Butterfly Curve.
# Written by Dean Moore, March 30 -- April 01, 2008

def animate_curve((g,f), a, b, step, x_min, x_max, y_min, y_max, fig_size = 5):
    v = []
    def c(i):                                 # For output
       return ((i-a)/(b-a), 0, 1-(i-a)/(b-a)) # colors.

    for i in srange(a, b + step, step):
        if i >= b:
            curve_color=(0,0,1) # Final image is blue.
        else:
            curve_color = c(i)

        p = parametric_plot((g,f), 0, i, rgbcolor=curve_color, plot_points=50*(i-a+1)/step, thickness = 0.25)
        if i < b:
            p = p + points((g(i),f(i)),rgbcolor=(0,0,0), pointsize=10) # Terminal point on all but last image.
        v.append(p)
    a = animate(v, xmin=x_min, xmax = x_max, ymin = y_min, ymax = y_max, figsize=[fig_size,fig_size])
    return a

figure_size                            = 4
x_min = -4;x_max = 4;y_min = -2; y_max = 5
number_of_images_in_final_frozen_image = 12
delay_between_images                   = 0 

def g(x):
    return sin(x)*(e^(cos(x)) - 2*cos(4*x) - (sin(x/12))^5) # Parametric 
def f(x):                                                   # equations of the
    return cos(x)*(e^(cos(x)) - 2*cos(4*x) - (sin(x/12))^5) # Butterfly Curve. 

step = 0.5
b = animate_curve((g,f),0, 24*pi, step, x_min, x_max, y_min, y_max, figure_size)

d = animate([b[-1] for i in srange(0, number_of_images_in_final_frozen_image)], # Last image
             xmin=x_min, ymin=y_min,                                            # is "held" a
             xmax=x_max, ymax=y_max,                                            # time.
             figsize=[figure_size,figure_size])
(b*d).show(delay = delay_between_images)
ڕێکەوت
سەرچاوە بەرھەمی خۆم (Original text: self-made)
بەرھەمھێنەر dino (talk)

مۆڵەتنامە

‫‫Dino at ئینگلیزی ویکیپیدیا، ھەڵگری مافی لەبەرگرتنەوەی ئەم بەرھەمە، لەژێر ئەم مۆڵەتنامەیانەدا بڵاوی دەکاتەوە:
w:en:Creative Commons
دانەپاڵ بڵاوکردنەوەی گونجاو
ئەم پەڕگەیە لە ژێر مۆڵەتنامەی Creative Commons Attribution-Share Alike 3.0 Unported دایە.
تۆ ئازادی:
  • بۆ بڵاکردنەوە – بۆ کۆپی کردن، دابەشکردن و دەستبەدەست ناردنی
  • بۆ تێکەڵکردنەوە – بۆ سازاندنی کارەکە
بەم مەرجانەی خوارەوە:
  • دانەپاڵ – پێویستە باوەڕی گونجاو بدەیت، بەستەرێک بۆ مۆڵەتەکە دابین بکەیت و ئاماژە بەوە بکەیت کە ئایا گۆڕانکاری کراوە یان نا. دەتوانیت بە هەر شێوەیەکی گونجاو ئەوە بکەیت، بەڵام بە شێوەیەک نا کە وا دەربکەوێت کە مۆڵەتدەر پشتگیری تۆ یان بەکارهێنانەکەت بکات.
  • بڵاوکردنەوەی گونجاو – ئەگەر لەسەر بنەمای ئەم کارە تێکەڵ، گۆڕان، یان ساز بکەی، پێویستە بەشدارییەکانت بە هەمان مۆڵەت یان هاوشێوەی مۆڵەتی ئەسڵی دابەش بکەی.
GNU head ڕێگەدراوە بە لەبەرگرتنەوە، دابەشکردن ھەروەھا/یان سازاندنی ئەم بەڵگەنامەیە لەژێر مەرجی مۆڵەتی GNU بۆ بەڵگەنامەی ئازاد، وەشانی ١.٢ یان ھەر وەشانێکی تری دواتر کە بڵاوکراوەتەوە لەلایەن دامەزراوەی بەرنامەی ئازاد، بەبێ ھیچ بەشێکی جیاواز، بەبێ نووسین لەسەر بەرگی پێشەوە و دواوەی. وێنەیەک لەمۆڵەتەکە لە بەشێکدا ھەیە کە ناوی مۆڵەتی GNU بۆ بەڵگەنامەی ئازادە.
دەتوانی مۆڵەتنامەی دڵخوازت ھەڵبژێریت.

Original upload log

The original description page was here. All following user names refer to en.wikipedia.
ڕێکەوت/کات ئەندازە بەکارھێنەر تێبینی
2008-04-04 00:30 500×500× (3487267 bytes) Dino better version. Source code [https://www.sagenb.org/home/pub/1767/ here].
2008-04-02 02:10 400×400× (2216154 bytes) Dino

لێدوانەکان

Add a one-line explanation of what this file represents

بەندەکانی لەم پەڕگەیەدا دەردەکەون

depicts ئینگلیزی

source of file ئینگلیزی

٣١ ئازاری 2008

media type ئینگلیزی

image/gif

checksum ئینگلیزی

5d1fd6a3cd28956182a7826773645e21e0a08e7c

determination method ئینگلیزی: SHA-1 ئینگلیزی

data size ئینگلیزی

٣٬٤٨٧٬٢٦٧ بایت

٥٠٠ پیکسڵ

width ئینگلیزی

٥٠٠ پیکسڵ

مێژووی پەڕگە

کرتە بکە لەسەر یەکێک لە ڕێکەوت/کاتەکان بۆ بینینی پەڕگەکە بەو شێوەی لەو کاتەدا بووە.

ڕێکەوت/کاتھێمائەندازەبەکارھێنەرتێبینی
هەنووکە‏٠٤:١١، ٨ی ئابی ٢٠١٧ھێما بۆ وەشانی  ‏٠٤:١١، ٨ی ئابی ٢٠١٧٥٠٠ لە ٥٠٠ (٣٫٣٣ مێگابایت)BD2412Transferred from en.wikipedia

بەکارھێنانی سەرانسەریی پەڕگە

ئەم ویکیانەی دیکەی خوارەوەش ئەم پەڕگە بەکاردێنن: