파일:Airy-pattern.svg

testwiki
둘러보기로 이동 검색으로 이동
    원본 파일 (SVG 파일, 실제 크기 283 × 210 픽셀, 파일 크기: 6 KB)

    이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.

    파일 설명

    설명
    English: Airy patter. Created in Adobe Illustrator and then edited to incorporate gradient stops calculated in Chipmunk Basic (see below for source code).
    날짜
    출처 다음을 기초로 한 자작: Airy-pattern.png
    저자 영어 위키백과의 Sakurambo User talk:Sakurambo
    SVG 발전
    InfoField
     이 SVG 파일의 소스 코드 문법이 올바릅니다.
     이 벡터 그림은 Adobe Illustrator(으)로 제작되었습니다.
      이 SVG 파일은 내장된 문자열을 사용하고 있으며 문서 편집기를 사용해서 쉽게 번역할 수 있습니다.

    Source code

    ' Positions of 1st 10 zeros in bj1(x)
    data 3.83170597
    data 7.01558668
    data 10.17346814
    data 13.32369194
    data 16.47063005
    data 19.61585851
    data 22.76008438
    data 25.90367209
    data 29.04682854
    data 32.18967991
    '
    dim zero(5)
    for j=1 to 5
    read zero(j)
    next j
    '
    open "radial_grad.txt" for output as #1
    max_x = zero(5)
    np = 10
    for j=0 to 4
    for p=0 to np-1
    x = zero(j)*(1-p/np) + zero(j+1)*p/np
    if (x=0) then airy=1 : else airy = (2 * bj1(x) / x)^2
    airy = airy^0.4 : ' Gamma function (increases brightness of low values)
    x0 = x/max_x
    ?#1,"<stop offset=";chr$(34);str$(x0);chr$(34);
    ?#1," style=";chr$(34);"stop-color:#";
    h$ = hex$(floor(255*abs(airy)+0.5),2)
    ?#1,h$;h$;h$;chr$(34);"/>"
    next p
    next j
    ?#1,"<stop offset=";chr$(34);"1";chr$(34);" style=";
    ?#1,chr$(34);"stop-color:#000";chr$(34);"/>"
    close#1
    end
    '
    ' BesselJ1 function based on Javascript source code at
    ' http://www.mhtl.uwaterloo.ca/old/courses/me3532/js/bessel.html
    sub bj1(x)
    ax = abs(x)
    if (ax < 8.0) then
    y=x*x
    tmp = (-2972611.439+y*(15704.48260+y*(-30.16036606)))
    ans1 = x*(72362614232.0+y*(-7895059235.0+y*(242396853.1+y*tmp)))
    ans2 = 144725228442.0+y*(2300535178.0+y*(18583304.74+y*(99447.43394+y*(376.9991397+y*1.0))))
    ans = ans1/ans2
    else
    z=8.0/ax
    y=z*z
    xx=ax-2.356194491
    ans1=1.0+y*(0.183105e-2+y*(-0.3516396496e-4+y*(0.2457520174e-5+y*(-0.240337019e-6))))
    ans2=0.04687499995+y*(-0.2002690873e-3+y*(0.8449199096e-5+y*(-0.88228987e-6+y*0.105787412e-6)))
    ans=sqrt(0.636619772/ax)*(cos(xx)*ans1-z*sin(xx)*ans2)
    if (x < 0.0) then ans = -ans
    endif
    bj1 = ans
    end sub
    </source>
    
    '''Linear gradient stops were generated with this program'''
    <source lang="qbasic">
    open "linear_grad.txt" for output as #1
    for x = 0 to 20
    xx = ((20-x)/20)^2 : ' Create more stop colors in low intensity region
    y = (xx)^0.4 : ' Gamma function
    c$ = hex$(floor(255*y+0.5),2)
    c$ = c$+c$+c$
    print #1,"<stop offset=";chr$(34);str$(1-xx);chr$(34);
    print #1," style=";chr$(34);" stop-color:#";c$;chr$(34);"/>"
    next x
    close #1
    end
    

    라이선스

    Public domain 이 작품은 저작자인 영어 위키백과의 Sakurambo에 의해 퍼블릭 도메인으로 공개된 작품입니다. 이 공개 선언은 전 세계적으로 유효합니다.
    만약 저작권의 포기가 법률적으로 가능하지 않은 경우,
    Sakurambo은 이 작품을 법적으로 허용되는 한도 내에서 누구나 자유롭게 어떤 목적으로도 제한 없이 사용할 수 있도록 허용합니다.

    기존 올리기 기록

    The original description page was here. All following user names refer to en.wikipedia.
    • 2008-07-09 14:17 Sakurambo 283×210 (5677 bytes) xml errors fixed
    • 2008-07-09 14:15 Sakurambo 283×210 (5698 bytes) better version (gradients calculated in software)
    • 2008-07-08 10:55 Sakurambo 283×210 (3757 bytes) fixed gamma snafu
    • 2008-07-08 10:42 Sakurambo 283×210 (3756 bytes) {{Information |Description=vectorized version of [[:Image:Airy-pattern.png]] |Source=I created this work entirely by myself. |Date=2007-07-08 |Author=~~~ |other_versions=[[Image:Airy-pattern.png|100px]] }}

    설명

    이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다

    이 파일에 묘사된 항목

    다음을 묘사함

    image/svg+xml

    0ed88b347c687b3bd59b1cadbe52e3ba683541aa

    5,677 바이트

    210 화소

    283 화소

    파일 역사

    날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

    날짜/시간섬네일크기사용자설명
    현재2012년 6월 11일 (월) 04:382012년 6월 11일 (월) 04:38 판의 섬네일283 × 210 (6 KB)wikimediacommons>OgreBot(BOT): Reverting to most recent version before archival

    이 파일을 사용하는 문서가 없습니다.