파일:Galilean moon Laplace resonance animation.gif

testwiki
둘러보기로 이동 검색으로 이동
    원본 파일 (365 × 245 픽셀, 파일 크기: 351 KB, MIME 종류: image/gif, 반복됨, 288 프레임, 5.8초)
    참고: 기술적인 제한으로 인해 고해상도 GIF 그림 섬네일은 애니메이션을 지원하지 않습니다.

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

    파일 설명

    설명
    English: Animation of the 1:2:4 Laplace resonance between Io, Europa, and Ganymede. The labels indicate the ratios of orbital periods: Europa's is twice Io's, and Ganymede's is four times Io's.
    Warning: do not downsize the image below its original size of 365 × 245 when used in a Wikipedia article, as the animation won't move then (at least not for all users).
    날짜 (UTC)
    출처 based on earlier version of this file, avail. below
    저자 User:Matma Rex
    저작권
    (이 파일을 인용하기)
    Public Domain
    다른 버전

    라이선스

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

    Generation

    This image has been generated by the following Ruby code and optimized in GIMP.

    # author: Matma Rex
    # code licensed under CC-BY-SA license
    
    require 'rubygems'
    require 'RMagick'
    include Magick
    
    
    
    step=5 # degrees by which Io will move in every frame
    
    
    # Io, Europa, Ganymede
    distances=[46, 72, 112]
    speeds=[1, 0.5, 0.25]
    shifts=[-90, 90, -90]
    
    centerx=122
    centery=122
    
    
    
    list=ImageList.new
    
    base=Image.new 365,245
    base.ticks_per_second=1000
    base.delay=5*step
    
    
    gc=Draw.new
    
    # lines
    gc.stroke 'lightgrey'
    gc.stroke_width 1.5
    distances.each{|d| gc.line centerx, centery-d, 360, centery-d}
    gc.line centerx, centery, 360, centery
    
    # orbits
    gc.stroke 'grey'
    gc.fill 'none'
    gc.stroke_width 2
    distances.each{|d| gc.circle centerx, centery, centerx, centery+d}
    
    # Jupiter
    gc.stroke 'black'
    gc.fill 'black'
    gc.stroke_width 2
    gc.circle  centerx, centery, centerx, centery+9
    
    # labels
    # gc.stroke_width 0
    # gc.gravity EastGravity
    # gc.font_family 'arial'
    # gc.font_size 18
    # gc.font_weight LighterWeight
    # gc.text_align RightAlign
    # gc.text_undercolor 'white'
    
    # gc.text 360, centery-distances[0]+7, '"  Io 1:1"'.upcase
    # gc.text 360, centery-distances[1]+7, '"  Europa 2:1"'.upcase
    # gc.text 360, centery-distances[2]+7, '"  Ganymede 4:1"'.upcase
    
    # gc.font_weight BoldWeight
    # gc.text 360, centery+7, '"  Jupiter"'.upcase
    
    
    gc.draw base
    
    # ImageMagick sucks at text - load a predefined text img instead
    base=base.composite Image.read('text.png')[0].transparent('cyan'), 0, 0, OverCompositeOp
    
    
    
    (0..(4*360-1)).step(step) do |deg|
      img=base.clone
      gc=Draw.new
    
      0.upto(2) do |i|
        rad=(deg*speeds[i] + shifts[i]) * Math::PI / 180.0
      
        x=distances[i] * -Math.cos(rad)
        y=distances[i] * Math.sin(rad)
    
        gc.circle centerx+x, centery+y,  centerx+x, centery+y+4.5
      end
    
      gc.draw img
      
      list << img
    end
    
    list.write 'magick.gif'
    

    설명

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

    이 파일에 묘사된 항목

    다음을 묘사함

    359,906 바이트

    245 화소

    365 화소

    88da37c15cb520e614ce393f5fb0f64c1a480471

    파일 역사

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

    날짜/시간섬네일크기사용자설명
    현재2011년 2월 16일 (수) 19:082011년 2월 16일 (수) 19:08 판의 섬네일365 × 245 (351 KB)wikimediacommons>Matma Rexa much nicer version, even if somewhat larger

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