File:Love wave.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 1,154 × 744 pixels, file size: 132 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Depiction of the propagation of a Love wave. The particles vibrate perpendicularly to the direction of propagation and the amplitude decays with depth.
    Español: Esquema de la propagación de una onda de Love. Las partículas vibran perpendicularmente a la dirección de propagación y la amplitud decae con la profundidad.
    Date
    Source Own work
    Author Nicoguaro
    Other versions Derivative works of this file:  Love wave in Chinese.png
    SVG development
    InfoField
     The SVG code is valid.
     This vector image was created with Inkscape.

    Creation

    This file was created in FreeCAD using a Python script, the arrows were added in Inkscape

    from __future__ import division
    import FreeCAD as FC
    import Part
    import numpy as np
    
    nx = 30
    ny = 6
    nz = 6
    side = 1
    doc = FC.newDocument("love_cubes")
    cube_list = []
    for row in range(nx):
        for col in range(ny):
            for lay in range(nz):
                dx = row*side
                dz = lay*side
                if row <= 2*nx/3:
                    dy = col*side - 2*np.sin(np.pi/5*dx)*(np.exp(dz/(side*nz)) - 1)
                else:
                    dy = col*side
                cube = Part.makeBox(side, side, side)
                cube.translate(FC.Vector(dx, dy, dz))
                cube_list.append(cube)
                cubes = Part.makeCompound(cube_list)  
    Part.show(cubes)
    


    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    w:en:Creative Commons
    attribution
    This file is licensed under the Creative Commons Attribution 4.0 International license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    24 June 2016

    134,980 byte

    744 pixel

    1,154 pixel

    image/svg+xml

    b2491724854d1780c6718a3b3a17342d1522b849

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current17:47, 24 June 2016Thumbnail for version as of 17:47, 24 June 20161,154 × 744 (132 KB)wikimediacommons>NicoguaroUser created page with UploadWizard

    There are no pages that use this file.