@prefix :        <https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Bounce1.ttl#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema:  <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix x3d:     <https://www.web3d.org/specifications/x3d-4.1.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.1#> .

:X3D a owl:NamedIndividual, x3do:X3D ;
  x3do:hasHead :head ;
  x3do:hasScene :Scene ;
  x3do:profile 'Immersive' ;
  x3do:version '3.3' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.3.xsd' .
:head a owl:NamedIndividual, x3do:head ;
  x3do:hasParent :X3D ;
  x3do:hasMeta :meta_1_1, :meta_1_2, :meta_1_3, :meta_1_4, :meta_1_5, :meta_1_6, :meta_1_7, :meta_1_8, :meta_1_9, :meta_1_10, :meta_1_11, :meta_1_12, :meta_1_13, :meta_1_14, :meta_1_15, :meta_1_16, :meta_1_17, :meta_1_18 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Bounce1.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Bouncing beachball (JavaScript/VRMLscript version): this world illustrates the use of a Script node to create a computed animation path. In particular, the Script node uses a JavaScript (or VRMLScript) program script to compute translation values for a vertically bouncing beach ball.' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'David R. Nadeau' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman' ;
  x3do:name 'translator' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '1 July 1998' ;
  x3do:name 'created' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '2 February 2014' ;
  x3do:name 'translated' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2019' ;
  x3do:name 'modified' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'originals/bounce1.wrl' ;
  x3do:name 'reference' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.siggraph.org/s98' ;
  x3do:name 'reference' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.siggraph.org/s98/conference/courses/18.html' ;
  x3do:name 'reference' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0407.htm' ;
  x3do:name 'reference' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0426.htm' ;
  x3do:name 'reference' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm' ;
  x3do:name 'reference' .
:meta_1_14 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dResources.html' ;
  x3do:name 'reference' .
:meta_1_15 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Bounce1.x3d' ;
  x3do:name 'identifier' .
:meta_1_16 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html' ;
  x3do:name 'generator' .
:meta_1_17 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_18 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "Bounce1.x3d" .
:meta dcterms:description "Bouncing beachball (JavaScript/VRMLscript version): this world illustrates the use of a Script node to create a computed animation path. In particular, the Script node uses a JavaScript (or VRMLScript) program script to compute translation values for a vertically bouncing beach ball." .
:meta dcterms:creator "David R. Nadeau" .
:meta dcterms:translator "Don Brutzman" .
:meta dcterms:created "1 July 1998" .
:meta dcterms:translated "2 February 2014" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:reference "originals/bounce1.wrl" .
:meta dcterms:reference "http://www.siggraph.org/s98" .
:meta dcterms:reference "http://www.siggraph.org/s98/conference/courses/18.html" .
:meta dcterms:reference "http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0407.htm" .
:meta dcterms:reference "http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0426.htm" .
:meta dcterms:reference "http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm" .
:meta dcterms:reference "https://www.web3d.org/x3d/content/examples/X3dResources.html" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Bounce1.x3d" .
:meta dcterms:generator "Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html" .
:meta dcterms:generator "X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:license "../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Viewpoint_2_2, :NavigationInfo_2_3, :DirectionalLight_2_4, :Background_2_5, :Shape_2_6, :Transform_2_7, :Transform_2_8, :Transform_2_9, :Transform_2_10, :Ball, :Clock, :Bouncer ;
  x3do:hasROUTE :ROUTE_2_14, :ROUTE_2_15 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:info '"Copyright (c) 1997, David R. Nadeau"' ;
  x3do:title 'Bouncing beachball (JavaScript)' .
:Viewpoint_2_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Bouncing beachball, JavaScript version' ;
  x3do:orientation ( 1.0 0.0 0.0 0.1 ) ;
  x3do:position ( 0.0 0.6 8.0 ) .
:NavigationInfo_2_3 a owl:NamedIndividual, x3do:NavigationInfo ;
  x3do:hasParent :Scene ;
  x3do:headlight false ;
  x3do:speed 2.0 .
:DirectionalLight_2_4 a owl:NamedIndividual, x3do:DirectionalLight ;
  x3do:hasParent :Scene ;
  x3do:ambientIntensity 0.5 ;
  x3do:direction ( 0.0 -1.0 -0.5 ) .
:Background_2_5 a owl:NamedIndividual, x3do:Background ;
  x3do:hasParent :Scene ;
  x3do:skyAngle ( 1.371 1.571 ) ;
  x3do:skyColor ( 0.0 0.0 1.0 0.0 0.5 1.0 0.7 0.7 1.0 ) .
:Shape_2_6 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Scene ;
  x3do:hasAppearance :Appearance_2_6_1 ;
  x3do:hasGeometry :IndexedFaceSet_2_6_2 .
:Appearance_2_6_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_6 ;
  x3do:hasTextureTransform :TextureTransform_2_6_1_1 ;
  x3do:hasMaterial :Material_2_6_1_2 ;
  x3do:hasTexture :ImageTexture_2_6_1_3 .
:TextureTransform_2_6_1_1 a owl:NamedIndividual, x3do:TextureTransform ;
  x3do:hasParent :Appearance_2_6_1 ;
  x3do:scale ( 10.0 10.0 ) .
:Material_2_6_1_2 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_6_1 .
:ImageTexture_2_6_1_3 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_6_1 ;
  x3do:url '"sand.jpg" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/sand.jpg"' .
:IndexedFaceSet_2_6_2 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_6 ;
  x3do:hasCoord :Coordinate_2_6_2_1 ;
  x3do:coordIndex ( 0 1 2 3 ) ;
  x3do:solid false .
:Coordinate_2_6_2_1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedFaceSet_2_6_2 ;
  x3do:point ( -50.0 -1.0 50.0 50.0 -1.0 50.0 50.0 -1.0 -50.0 -50.0 -1.0 -50.0 ) .
:Transform_2_7 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Palm ;
  x3do:translation ( -3.0 -1.0 -10.0 ) .
:Palm a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Transform_2_7 ;
  x3do:hasChildren :Billboard_2_7_1_1, :Shape_2_7_1_2 ;
  x3do:DEF 'Palm' .
:Billboard_2_7_1_1 a owl:NamedIndividual, x3do:Billboard ;
  x3do:hasParent :Palm ;
  x3do:hasChildren :Shape_2_7_1_1_1 .
:Shape_2_7_1_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Billboard_2_7_1_1 ;
  x3do:hasAppearance :Appearance_2_7_1_1_1_1 ;
  x3do:hasGeometry :IndexedFaceSet_2_7_1_1_1_2 .
:Appearance_2_7_1_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_1_1 ;
  x3do:hasTexture :ImageTexture_2_7_1_1_1_1_1 .
:ImageTexture_2_7_1_1_1_1_1 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_7_1_1_1_1 ;
  x3do:url '"palm.png" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/palm.png"' .
:IndexedFaceSet_2_7_1_1_1_2 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_7_1_1_1 ;
  x3do:hasTexCoord :TextureCoordinate_2_7_1_1_1_2_1 ;
  x3do:hasCoord :Coordinate_2_7_1_1_1_2_2 ;
  x3do:coordIndex ( 0 1 2 3 ) ;
  x3do:solid false ;
  x3do:texCoordIndex ( 0 1 2 3 ) .
:TextureCoordinate_2_7_1_1_1_2_1 a owl:NamedIndividual, x3do:TextureCoordinate ;
  x3do:hasParent :IndexedFaceSet_2_7_1_1_1_2 ;
  x3do:point ( 0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0 ) .
:Coordinate_2_7_1_1_1_2_2 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedFaceSet_2_7_1_1_1_2 ;
  x3do:point ( -2.5 0.0 0.0 2.5 0.0 0.0 2.5 11.25 0.0 -2.5 11.25 0.0 ) .
:Shape_2_7_1_2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Palm ;
  x3do:hasAppearance :Appearance_2_7_1_2_1 ;
  x3do:hasGeometry :IndexedFaceSet_2_7_1_2_2 .
:Appearance_2_7_1_2_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_2 ;
  x3do:hasMaterial :Material_2_7_1_2_1_1 ;
  x3do:hasTexture :ImageTexture_2_7_1_2_1_2 .
:Material_2_7_1_2_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_7_1_2_1 ;
  x3do:diffuseColor ( 0.0 0.0 0.0 ) ;
  x3do:transparency 0.5 .
:ImageTexture_2_7_1_2_1_2 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_7_1_2_1 ;
  x3do:url '"palmsh.png" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/palmsh.png"' .
:IndexedFaceSet_2_7_1_2_2 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_7_1_2 ;
  x3do:hasTexCoord :TextureCoordinate_2_7_1_2_2_1 ;
  x3do:hasCoord :Coordinate_2_7_1_2_2_2 ;
  x3do:coordIndex ( 0 1 2 3 ) ;
  x3do:solid false ;
  x3do:texCoordIndex ( 0 1 2 3 ) .
:TextureCoordinate_2_7_1_2_2_1 a owl:NamedIndividual, x3do:TextureCoordinate ;
  x3do:hasParent :IndexedFaceSet_2_7_1_2_2 ;
  x3do:point ( 0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0 ) .
:Coordinate_2_7_1_2_2_2 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedFaceSet_2_7_1_2_2 ;
  x3do:point ( -2.5 0.05 2.5 2.5 0.05 2.5 2.5 0.05 -2.5 -2.5 0.05 -2.5 ) .
:Transform_2_8 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Palm-USE-1 ;
  x3do:scale ( 0.6 0.6 0.6 ) ;
  x3do:translation ( -5.0 -1.0 -6.0 ) .
:Palm-USE-1 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Transform_2_8 ;
  owl:sameAs :Palm . # DEF matching this USE
:Transform_2_9 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Palm-USE-2 ;
  x3do:translation ( 5.0 -1.0 -9.0 ) .
:Palm-USE-2 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Transform_2_9 ;
  owl:sameAs :Palm . # DEF matching this USE
:Transform_2_10 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Palm-USE-3 ;
  x3do:translation ( 10.0 -1.0 -15.0 ) .
:Palm-USE-3 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Transform_2_10 ;
  owl:sameAs :Palm . # DEF matching this USE
:Ball a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_11_1 ;
  x3do:DEF 'Ball' .
:Shape_2_11_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Ball ;
  x3do:hasAppearance :Appearance_2_11_1_1 ;
  x3do:hasGeometry :Sphere_2_11_1_2 .
:Appearance_2_11_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_11_1 ;
  x3do:hasTextureTransform :TextureTransform_2_11_1_1_1 ;
  x3do:hasMaterial :Material_2_11_1_1_2 ;
  x3do:hasTexture :ImageTexture_2_11_1_1_3 .
:TextureTransform_2_11_1_1_1 a owl:NamedIndividual, x3do:TextureTransform ;
  x3do:hasParent :Appearance_2_11_1_1 ;
  x3do:scale ( 2.0 1.0 ) .
:Material_2_11_1_1_2 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_11_1_1 ;
  x3do:ambientIntensity 0.5 ;
  x3do:diffuseColor ( 1.0 1.0 1.0 ) ;
  x3do:shininess 0.4 ;
  x3do:specularColor ( 0.7 0.7 0.7 ) .
:ImageTexture_2_11_1_1_3 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_11_1_1 ;
  x3do:url '"beach.jpg" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/beach.jpg"' .
:Sphere_2_11_1_2 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_11_1 .
:Clock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'Clock' ;
  x3do:cycleInterval '2.0' ;
  x3do:loop true ;
  x3do:startTime '1.0' .
:Bouncer a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_13_1, :field_2_13_2, :field_2_13_3 ;
  x3do:DEF 'Bouncer' ;
  x3do:sourceCode """
ecmascript:
        function set_fraction( frac, tm ) {
            y = 4.0 * bounceHeight * frac * (1.0 - frac);
            value_changed[0] = 0.0;
            value_changed[1] = y;
            value_changed[2] = 0.0;
        }
""" .
:field_2_13_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Bouncer ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'value_changed' ;
  x3do:type 'SFVec3f' .
:field_2_13_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Bouncer ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'bounceHeight' ;
  x3do:type 'SFFloat' ;
  x3do:value 3.0 .
:field_2_13_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Bouncer ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'set_fraction' ;
  x3do:type 'SFFloat' .
:ROUTE_2_14 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'Clock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'Bouncer' .
:ROUTE_2_15 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Bouncer' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'Ball' .
