@prefix :        <https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter07EventAnimationInterpolation/CoordinateInterpolator2dExample.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.0.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.0#> .

: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:hasComponent :component_1_1 ;
  x3do:hasMeta :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 .
:component_1_1 a owl:NamedIndividual, x3do:component ;
  x3do:hasParent :head ;
  x3do:level 3 ;
  x3do:name 'Interpolation' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'CoordinateInterpolator2dExample.x3d' ;
  x3do:name 'title' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Example to interpolate using CoordinateInterpolator2D - select and hold geometry for a user-controlled animation loop.' ;
  x3do:name 'description' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman, Jeff Weekley, Jane Wu' ;
  x3do:name 'creator' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '9 October 2001' ;
  x3do:name 'created' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '31 August 2023' ;
  x3do:name 'modified' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'CoordinateInterpolator2D' ;
  x3do:name 'subject' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'CoordinateInterpolator2dExamplePhoneTouchScreenImage.png' ;
  x3do:name 'Image' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '[x3d-public] TimeSensor Control https://web3d.org/pipermail/x3d-public_web3d.org/2023-August/019468.html' ;
  x3do:name 'reference' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter07EventAnimationInterpolation/CoordinateInterpolator2dExample.x3d' ;
  x3do:name 'identifier' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/development/CoordinateInterpolator2dExample.x3d' ;
  x3do:name 'reference' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "CoordinateInterpolator2dExample.x3d" .
:meta dcterms:description "Example to interpolate using CoordinateInterpolator2D - select and hold geometry for a user-controlled animation loop." .
:meta dcterms:creator "Don Brutzman, Jeff Weekley, Jane Wu" .
:meta dcterms:created "9 October 2001" .
:meta dcterms:modified "31 August 2023" .
:meta dcterms:subject "CoordinateInterpolator2D" .
:meta dcterms:Image "CoordinateInterpolator2dExamplePhoneTouchScreenImage.png" .
:meta dcterms:reference "[x3d-public] TimeSensor Control https://web3d.org/pipermail/x3d-public_web3d.org/2023-August/019468.html" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter07EventAnimationInterpolation/CoordinateInterpolator2dExample.x3d" .
:meta dcterms:reference "https://www.web3d.org/x3d/content/examples/Basic/development/CoordinateInterpolator2dExample.x3d" .
:meta dcterms:generator "X3D-Edit 3.3, 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, :Clock, :InterpolateCrossSection, :Transform_2_6, :Transform_2_7 ;
  x3do:hasROUTE :ROUTE_2_5 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'CoordinateInterpolator2dExample.x3d' .
:Viewpoint_2_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Click to activate animation' ;
  x3do:orientation ( 1 0 0 -0.4 ) ;
  x3do:position ( 0 4 10 ) .
:Clock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'Clock' ;
  x3do:cycleInterval '5' ;
  x3do:enabled false ;
  x3do:loop true .
:InterpolateCrossSection a owl:NamedIndividual, x3do:CoordinateInterpolator2D ;
  x3do:hasParent :Scene ;
  x3do:DEF 'InterpolateCrossSection' ;
  x3do:key ( 0 0.45 0.9 1 ) ;
  x3do:keyValue ( 1 1 1 -1 -1 -1 -1 1 1 1 2 2 2 -2 -1 -1 -1 1 2 2 1 1 1 -1 -1 -1 -1 1 1 1 1 1 1 -1 -1 -1 -1 1 1 1 ) .
:ROUTE_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'Clock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'InterpolateCrossSection' .
:Transform_2_6 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Toucher, :Shape_2_6_4 ;
  x3do:hasROUTE :ROUTE_2_6_2, :ROUTE_2_6_3, :ROUTE_2_6_5 ;
  x3do:translation ( 1.15 1 0 ) .
:Toucher a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Transform_2_6 ;
  x3do:DEF 'Toucher' ;
  x3do:description 'select & hold shape to animate Extrusion' .
:ROUTE_2_6_2 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Transform_2_6 ;
  x3do:fromField 'isActive' ;
  x3do:fromNode 'Toucher' ;
  x3do:toField 'enabled' ;
  x3do:toNode 'Clock' .
:ROUTE_2_6_3 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Transform_2_6 ;
  x3do:fromField 'touchTime' ;
  x3do:fromNode 'Toucher' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'Clock' .
:Shape_2_6_4 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_6 ;
  x3do:hasAppearance :Appearance_2_6_4_1 ;
  x3do:hasGeometry :AnimatedCrossSectionExtrusion .
:Appearance_2_6_4_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_6_4 ;
  x3do:hasMaterial :Material_2_6_4_1_1 .
:Material_2_6_4_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_6_4_1 ;
  x3do:diffuseColor ( 0.2 0.8 0.4 ) ;
  x3do:emissiveColor ( 0.05 0.2 0.1 ) .
:AnimatedCrossSectionExtrusion a owl:NamedIndividual, x3do:Extrusion ;
  x3do:hasParent :Shape_2_6_4 ;
  x3do:DEF 'AnimatedCrossSectionExtrusion' ;
  x3do:spine ( -4 0 -2 -1 0 -2 2 0 1 2 0 4 ) .
:ROUTE_2_6_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Transform_2_6 ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'InterpolateCrossSection' ;
  x3do:toField 'set_crossSection' ;
  x3do:toNode 'AnimatedCrossSectionExtrusion' .
:Transform_2_7 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Billboard_2_7_1 ;
  x3do:translation ( -1.5 -1 2 ) .
:Billboard_2_7_1 a owl:NamedIndividual, x3do:Billboard ;
  x3do:hasParent :Transform_2_7 ;
  x3do:hasChildren :Shape_2_7_1_1 ;
  x3do:axisOfRotation ( 0 0 0 ) .
:Shape_2_7_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Billboard_2_7_1 ;
  x3do:hasGeometry :Text_2_7_1_1_1 ;
  x3do:hasAppearance :Appearance_2_7_1_1_2 .
:Text_2_7_1_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_7_1_1 ;
  x3do:hasFontStyle :FontStyle_2_7_1_1_1_1 ;
  x3do:string '"select & hold shape" "to animate Extrusion"' .
:FontStyle_2_7_1_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_7_1_1_1 ;
  x3do:family '"SANS"' ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:size 0.8 .
:Appearance_2_7_1_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_1 ;
  x3do:hasMaterial :Material_2_7_1_1_2_1 .
:Material_2_7_1_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_7_1_1_2 ;
  x3do:diffuseColor ( 0.8 0.4 0.2 ) .
