This is the web version of EJS interface
EJS version 4.3.2
  1. Title=Throwing a ball
  2. Author=Francisco Esquembre, Universidad de Murcia, Spain
  3. Keywords=Parabolic Throw
  4. Level=Beginner
  5. Language=English
  6. Abstract=This simulation shows the trajectory of a ball thrown by a pitcher.
  7. CaptureTools=false
  8. DataTools=false
  9. LanguageTools=false
  10. EmersionSupport=false
  11. UseInterpreter=true
  12. DetectedFiles=_data/Pitcher.gif;_data/_data2/pause.gif;_data/_data2/play.gif;_data/_data2/reset.gif;
  13. AuxiliaryFiles=_data/Pitcher.gif;_data/_data2/play.gif;_data/_data2/pause.gif;_data/_data2/reset.gif;

    Motion

    NameValueTypeDimension

    Condiciones iniciales

    x = 0; y = 1.5; _view.trajectory.moveToPoint(x,y); // The angle was introduced using degrees double radians = angle*Math.PI/180.0; vx = speed * Math.cos(radians); vy = speed * Math.sin(radians);

    Motion

    EJSVIEW: Click link to view it's content
    Control variables:(testing)
    title=Throwing a ball
    layout=border
    visible=true
    location="186,202"
    size="600,320"
    position=south
    layout=flow:center,0,0
    border=5,0,5,0
    background=200,220,208
    text="Angle = "
    foreground=192,0,0
    variable=angle
    format="0.##"
    action=_initialize()
    columns=3
    variable=_isPaused
    size="80,35"
    imageOn="_data/_data2/play.gif"
    actionOn=_play()
    imageOff="_data/_data2/pause.gif"
    actionOff=_pause()
    image="_data/_data2/reset.gif"
    action=_reset()
    size="80,35"
    position=center
    autoscaleX=false
    autoscaleY=false
    minimumX=-1
    maximumX=9
    minimumY=0
    maximumY=5.5
    background=white
    x=-0.5
    y=0
    sizex=1.6
    sizey=1.8
    enabled=true
    image="_data/Pitcher.gif"
    elementposition=SOUTH
    x=x
    y=y
    sizex=0.2
    sizey=0.2
    enabled=true
    secondaryColor=128,0,255
    color=128,0,255
    x=x
    y=y
    color=128,0,0
    stroke=1