@prefix :        <https://www.web3d.org/x3d/content/examples/Basic/Followers/TestPositionFollower.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.2' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.2.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_19 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'TestPositionFollower.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D Follower example' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Herbert Stocker' ;
  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 '18 April 2006' ;
  x3do:name 'created' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '2 December 2011' ;
  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/test_PosFollower.wrl' ;
  x3do:name 'reference' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Stocker_06_Followers.pdf' ;
  x3do:name 'reference' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.hersto.com/Publications/Followers' ;
  x3do:name 'reference' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D version 3.2 or greater' ;
  x3do:name 'requires' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D Follower Chaser Damper' ;
  x3do:name 'subject' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'under development, instantReality works but BS Contact fails silently' ;
  x3do:name 'warning' .
:meta_1_14 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/specifications/ISO-IEC-19775-1.2-X3D-AbstractSpecification/Part01/components/followers.html' ;
  x3do:name 'reference' .
:meta_1_15 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html' ;
  x3do:name 'reference' .
:meta_1_16 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/Followers/TestPositionFollower.x3d' ;
  x3do:name 'identifier' .
:meta_1_17 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html' ;
  x3do:name 'generator' .
:meta_1_18 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_19 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "TestPositionFollower.x3d" .
:meta dcterms:description "X3D Follower example" .
:meta dcterms:creator "Herbert Stocker" .
:meta dcterms:translator "Don Brutzman" .
:meta dcterms:created "18 April 2006" .
:meta dcterms:translated "2 December 2011" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:reference "originals/test_PosFollower.wrl" .
:meta dcterms:reference "Stocker_06_Followers.pdf" .
:meta dcterms:reference "http://www.hersto.com/Publications/Followers" .
:meta dcterms:requires "X3D version 3.2 or greater" .
:meta dcterms:subject "X3D Follower Chaser Damper" .
:meta dcterms:warning "under development, instantReality works but BS Contact fails silently" .
:meta dcterms:reference "https://www.web3d.org/x3d/specifications/ISO-IEC-19775-1.2-X3D-AbstractSpecification/Part01/components/followers.html" .
:meta dcterms:reference "https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Basic/Followers/TestPositionFollower.x3d" .
:meta dcterms:generator "Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html" .
: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, :NavigationInfo_2_3, :Group_2_4, :TrObjectDirect, :SwObjectDampered, :PositionDamperNode, :SwObjectFollowed, :PositionChaserNode, :Transform_2_16, :Transform_2_17, :Transform_2_18, :Transform_2_19, :ScrBtnMgr, :SwDamperTrail, :SwChaserTrail, :TmrTrail, :ScrTrailer ;
  x3do:hasROUTE :ROUTE_2_6, :ROUTE_2_9, :ROUTE_2_10, :ROUTE_2_13, :ROUTE_2_14, :ROUTE_2_21, :ROUTE_2_22, :ROUTE_2_23, :ROUTE_2_24, :ROUTE_2_29, :ROUTE_2_30, :ROUTE_2_31, :ROUTE_2_32, :ROUTE_2_33 ;
  x3do:hasProtoDeclare :ProtoDeclare_2_15 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'TestPositionFollower.x3d' .
:Viewpoint_2_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'TestPositionFollower' ;
  x3do:fieldOfView 0.716 ;
  x3do:position ( 0.0 0.0 15.0 ) .
:NavigationInfo_2_3 a owl:NamedIndividual, x3do:NavigationInfo ;
  x3do:hasParent :Scene ;
  x3do:type '"NONE"' .
:Group_2_4 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :PlaneSensorPosition, :Transform_2_4_2 .
:PlaneSensorPosition a owl:NamedIndividual, x3do:PlaneSensor ;
  x3do:hasParent :Group_2_4 ;
  x3do:DEF 'PlaneSensorPosition' ;
  x3do:description 'touch to activate' .
:Transform_2_4_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasChildren :Shape_2_4_2_1 ;
  x3do:translation ( 0.0 0.0 -0.05 ) .
:Shape_2_4_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_4_2 ;
  x3do:hasAppearance :Appearance_2_4_2_1_1 ;
  x3do:hasGeometry :Box_2_4_2_1_2 .
:Appearance_2_4_2_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_2_1 ;
  x3do:hasMaterial :Material_2_4_2_1_1_1 .
:Material_2_4_2_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_2_1_1 ;
  x3do:ambientIntensity 0.0333 ;
  x3do:diffuseColor ( 0.0 0.0 0.0 ) ;
  x3do:emissiveColor ( 0.177 0.19 0.208 ) ;
  x3do:shininess 0.54 .
:Box_2_4_2_1_2 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_4_2_1 ;
  x3do:size ( 10.0 10.0 0.1 ) .
:TrObjectDirect a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_5_1 ;
  x3do:DEF 'TrObjectDirect' ;
  x3do:scale ( 0.8 0.8 0.8 ) .
:Shape_2_5_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :TrObjectDirect ;
  x3do:hasAppearance :Appearance_2_5_1_1 ;
  x3do:hasGeometry :GeomObject .
:Appearance_2_5_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1 ;
  x3do:hasMaterial :Material_2_5_1_1_1 .
:Material_2_5_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_1_1 ;
  x3do:ambientIntensity 0.0333 ;
  x3do:diffuseColor ( 0.02 0.24 0.53 ) ;
  x3do:emissiveColor ( 0.01 0.12 0.27 ) ;
  x3do:shininess 0.54 ;
  x3do:specularColor ( 0.32 0.4 0.4 ) .
:GeomObject a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_5_1 ;
  x3do:DEF 'GeomObject' ;
  x3do:radius 0.3 .
:ROUTE_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'trackPoint_changed' ;
  x3do:fromNode 'PlaneSensorPosition' ;
  x3do:toField 'translation' ;
  x3do:toNode 'TrObjectDirect' .
:SwObjectDampered a owl:NamedIndividual, x3do:Switch ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :TrObjectDampered ;
  x3do:DEF 'SwObjectDampered' ;
  x3do:whichChoice 0 .
:TrObjectDampered a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :SwObjectDampered ;
  x3do:hasChildren :Shape_2_7_1_1 ;
  x3do:DEF 'TrObjectDampered' .
:Shape_2_7_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :TrObjectDampered ;
  x3do:hasAppearance :AppObjectDampered ;
  x3do:hasGeometry :GeomObject-USE-1 .
:AppObjectDampered a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_1 ;
  x3do:hasMaterial :Material_2_7_1_1_1_1 ;
  x3do:DEF 'AppObjectDampered' .
:Material_2_7_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :AppObjectDampered ;
  x3do:ambientIntensity 0.0333 ;
  x3do:diffuseColor ( 0.53 0.02 0.24 ) ;
  x3do:emissiveColor ( 0.27 0.01 0.12 ) ;
  x3do:shininess 0.54 ;
  x3do:specularColor ( 0.4 0.32 0.4 ) .
:GeomObject-USE-1 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_7_1_1 ;
  owl:sameAs :GeomObject . # DEF matching this USE
:PositionDamperNode a owl:NamedIndividual, x3do:PositionDamper ;
  x3do:hasParent :Scene ;
  x3do:DEF 'PositionDamperNode' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'trackPoint_changed' ;
  x3do:fromNode 'PlaneSensorPosition' ;
  x3do:toField 'set_destination' ;
  x3do:toNode 'PositionDamperNode' .
:ROUTE_2_10 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'PositionDamperNode' ;
  x3do:toField 'translation' ;
  x3do:toNode 'TrObjectDampered' .
:SwObjectFollowed a owl:NamedIndividual, x3do:Switch ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :TrObjectFollowed ;
  x3do:DEF 'SwObjectFollowed' ;
  x3do:whichChoice 0 .
:TrObjectFollowed a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :SwObjectFollowed ;
  x3do:hasChildren :Shape_2_11_1_1 ;
  x3do:DEF 'TrObjectFollowed' .
:Shape_2_11_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :TrObjectFollowed ;
  x3do:hasAppearance :AppObjectFollowed ;
  x3do:hasGeometry :GeomObject-USE-2 .
:AppObjectFollowed a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_11_1_1 ;
  x3do:hasMaterial :Material_2_11_1_1_1_1 ;
  x3do:DEF 'AppObjectFollowed' .
:Material_2_11_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :AppObjectFollowed ;
  x3do:ambientIntensity 0.0333 ;
  x3do:diffuseColor ( 0.24 0.53 0.02 ) ;
  x3do:emissiveColor ( 0.12 0.27 0.01 ) ;
  x3do:shininess 0.54 ;
  x3do:specularColor ( 0.4 0.4 0.32 ) .
:GeomObject-USE-2 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_11_1_1 ;
  owl:sameAs :GeomObject . # DEF matching this USE
:PositionChaserNode a owl:NamedIndividual, x3do:PositionChaser ;
  x3do:hasParent :Scene ;
  x3do:DEF 'PositionChaserNode' ;
  x3do:duration '1.5' .
:ROUTE_2_13 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'trackPoint_changed' ;
  x3do:fromNode 'PlaneSensorPosition' ;
  x3do:toField 'set_destination' ;
  x3do:toNode 'PositionChaserNode' .
:ROUTE_2_14 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'PositionChaserNode' ;
  x3do:toField 'translation' ;
  x3do:toNode 'TrObjectFollowed' .
:ProtoDeclare_2_15 a owl:NamedIndividual, x3do:ProtoDeclare ;
  x3do:hasParent :Scene ;
  x3do:hasProtoInterface :ProtoInterface_2_15_1 ;
  x3do:hasProtoBody :ProtoBody_2_15_2 ;
  x3do:name 'ToggleButton' .
:ProtoInterface_2_15_1 a owl:NamedIndividual, x3do:ProtoInterface ;
  x3do:hasParent :ProtoDeclare_2_15 ;
  x3do:hasField :field_2_15_1_1, :field_2_15_1_2, :field_2_15_1_3, :field_2_15_1_4 .
:field_2_15_1_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_15_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'HottColor' ;
  x3do:type 'SFColor' ;
  x3do:value ( 0.8 0.8 0.3 ) .
:field_2_15_1_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_15_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'initiallyOn' ;
  x3do:type 'SFBool' ;
  x3do:value false .
:field_2_15_1_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_15_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'ColdColor' ;
  x3do:type 'SFColor' ;
  x3do:value ( 0.2 0.2 0.0 ) .
:field_2_15_1_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_15_1 ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'isOn' ;
  x3do:type 'SFBool' .
:ProtoBody_2_15_2 a owl:NamedIndividual, x3do:ProtoBody ;
  x3do:hasParent :ProtoDeclare_2_15 ;
  x3do:hasChildren :Transform_2_15_2_1, :ScrToggleButton, :ColorDamperNode .
:Transform_2_15_2_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :ProtoBody_2_15_2 ;
  x3do:hasChildren :TouchPosition, :ShRect ;
  x3do:scale ( 0.4 0.4 0.4 ) .
:TouchPosition a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Transform_2_15_2_1 ;
  x3do:DEF 'TouchPosition' ;
  x3do:description 'move ball to demonstrate PositionChaser2D, PositionDamper2D' .
:ShRect a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_15_2_1 ;
  x3do:hasAppearance :Appearance_2_15_2_1_2_1 ;
  x3do:hasGeometry :IndexedFaceSet_2_15_2_1_2_2 ;
  x3do:DEF 'ShRect' .
:Appearance_2_15_2_1_2_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :ShRect ;
  x3do:hasMaterial :Mat .
:Mat a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_15_2_1_2_1 ;
  x3do:DEF 'Mat' ;
  x3do:ambientIntensity 0.04 ;
  x3do:diffuseColor ( 0.0 0.0 0.0 ) ;
  x3do:shininess 0.11 .
:IndexedFaceSet_2_15_2_1_2_2 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :ShRect ;
  x3do:hasCoord :Coordinate_2_15_2_1_2_2_1 ;
  x3do:coordIndex ( 0 1 2 3 -1 ) .
:Coordinate_2_15_2_1_2_2_1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedFaceSet_2_15_2_1_2_2 ;
  x3do:point ( -1 -1 0 1 -1 0 1 1 0 -1 1 0 ) .
:ScrToggleButton a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :ProtoBody_2_15_2 ;
  x3do:hasField :field_2_15_2_2_1, :field_2_15_2_2_2, :field_2_15_2_2_3, :field_2_15_2_2_4, :field_2_15_2_2_5, :field_2_15_2_2_6, :field_2_15_2_2_7, :field_2_15_2_2_8 ;
  x3do:hasIS :IS_2_15_2_2_9 ;
  x3do:DEF 'ScrToggleButton' ;
  x3do:sourceCode """
ecmascript:

function DamperSThere()
{
    activate(initiallyOn);
}

function activate(a)
{
    isOn= a;
    Tau=  a? .1 : .2;
    Color= a? HottColor : ColdColor;
}

function set_id(i)
{
    id= i;
}

function TS_Touched()
{
    activate(!isOn);
}
""" .
:field_2_15_2_2_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrToggleButton ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'TS_Touched' ;
  x3do:type 'SFTime' .
:field_2_15_2_2_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrToggleButton ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'Color' ;
  x3do:type 'SFColor' .
:field_2_15_2_2_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrToggleButton ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'isOn' ;
  x3do:type 'SFBool' .
:field_2_15_2_2_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrToggleButton ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'ColdColor' ;
  x3do:type 'SFColor' .
:field_2_15_2_2_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrToggleButton ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'Tau' ;
  x3do:type 'SFFloat' .
:field_2_15_2_2_6 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrToggleButton ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'initiallyOn' ;
  x3do:type 'SFBool' .
:field_2_15_2_2_7 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrToggleButton ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'DamperSThere' ;
  x3do:type 'SFBool' .
:field_2_15_2_2_8 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrToggleButton ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'HottColor' ;
  x3do:type 'SFColor' .
:IS_2_15_2_2_9 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :ScrToggleButton ;
  x3do:hasConnect :connect_2_15_2_2_9_1, :connect_2_15_2_2_9_2, :connect_2_15_2_2_9_3, :connect_2_15_2_2_9_4 .
:connect_2_15_2_2_9_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_15_2_2_9 ;
  x3do:nodeField 'isOn' ;
  x3do:protoField 'isOn' .
:connect_2_15_2_2_9_2 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_15_2_2_9 ;
  x3do:nodeField 'ColdColor' ;
  x3do:protoField 'ColdColor' .
:connect_2_15_2_2_9_3 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_15_2_2_9 ;
  x3do:nodeField 'initiallyOn' ;
  x3do:protoField 'initiallyOn' .
:connect_2_15_2_2_9_4 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_15_2_2_9 ;
  x3do:nodeField 'HottColor' ;
  x3do:protoField 'HottColor' .
:ColorDamperNode a owl:NamedIndividual, x3do:ColorDamper ;
  x3do:hasParent :ProtoBody_2_15_2 ;
  x3do:DEF 'ColorDamperNode' ;
  x3do:order 1 .
:Transform_2_16 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :BtnDamper ;
  x3do:translation ( -5.7 4.0 0.0 ) .
:BtnDamper a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Transform_2_16 ;
  x3do:hasFieldValue :fieldValue_2_16_1_1, :fieldValue_2_16_1_2, :fieldValue_2_16_1_3 ;
  x3do:DEF 'BtnDamper' ;
  x3do:name 'ToggleButton' .
:fieldValue_2_16_1_1 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :BtnDamper ;
  x3do:name 'HottColor' ;
  x3do:value ( 0.8 0.03 0.36 ) .
:fieldValue_2_16_1_2 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :BtnDamper ;
  x3do:name 'initiallyOn' ;
  x3do:value true .
:fieldValue_2_16_1_3 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :BtnDamper ;
  x3do:name 'ColdColor' ;
  x3do:value ( 0.2 0.0080 0.09 ) .
:Transform_2_17 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_17_1 ;
  x3do:translation ( -8.0 3.9 0.0 ) .
:Shape_2_17_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_17 ;
  x3do:hasAppearance :AppLabels ;
  x3do:hasGeometry :Text_2_17_1_2 .
:AppLabels a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_17_1 ;
  x3do:hasMaterial :Material_2_17_1_1_1 ;
  x3do:DEF 'AppLabels' .
:Material_2_17_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :AppLabels ;
  x3do:diffuseColor ( 0.0 0.0 0.0 ) ;
  x3do:emissiveColor ( 0.8 0.8 0.8 ) .
:Text_2_17_1_2 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_17_1 ;
  x3do:hasFontStyle :FntLabels ;
  x3do:string '"Damper"' .
:FntLabels a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_17_1_2 ;
  x3do:DEF 'FntLabels' ;
  x3do:family '"Arial" "SANS"' ;
  x3do:size 0.5 .
:Transform_2_18 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :BtnChaser ;
  x3do:translation ( -5.7 2.8 0.0 ) .
:BtnChaser a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Transform_2_18 ;
  x3do:hasFieldValue :fieldValue_2_18_1_1, :fieldValue_2_18_1_2, :fieldValue_2_18_1_3 ;
  x3do:DEF 'BtnChaser' ;
  x3do:name 'ToggleButton' .
:fieldValue_2_18_1_1 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :BtnChaser ;
  x3do:name 'HottColor' ;
  x3do:value ( 0.36 0.8 0.03 ) .
:fieldValue_2_18_1_2 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :BtnChaser ;
  x3do:name 'initiallyOn' ;
  x3do:value true .
:fieldValue_2_18_1_3 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :BtnChaser ;
  x3do:name 'ColdColor' ;
  x3do:value ( 0.09 0.2 0.0080 ) .
:Transform_2_19 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_19_1 ;
  x3do:translation ( -8.0 2.7 0.0 ) .
:Shape_2_19_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_19 ;
  x3do:hasAppearance :AppLabels-USE-1 ;
  x3do:hasGeometry :Text_2_19_1_2 .
:AppLabels-USE-1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_19_1 ;
  owl:sameAs :AppLabels . # DEF matching this USE
:Text_2_19_1_2 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_19_1 ;
  x3do:hasFontStyle :FntLabels-USE-1 ;
  x3do:string '"Chaser"' .
:FntLabels-USE-1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_19_1_2 ;
  owl:sameAs :FntLabels . # DEF matching this USE
:ScrBtnMgr a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_20_1, :field_2_20_2, :field_2_20_3, :field_2_20_4 ;
  x3do:DEF 'ScrBtnMgr' ;
  x3do:sourceCode """
ecmascript:

function BtnDamperIsOn(on)
{
    WcDamper= on? 0:-1;
}
function BtnChaserIsOn(on)
{
    WcChaser= on? 0:-1;
}
""" .
:field_2_20_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrBtnMgr ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'BtnChaserIsOn' ;
  x3do:type 'SFBool' .
:field_2_20_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrBtnMgr ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'WcDamper' ;
  x3do:type 'SFInt32' .
:field_2_20_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrBtnMgr ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'WcChaser' ;
  x3do:type 'SFInt32' .
:field_2_20_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrBtnMgr ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'BtnDamperIsOn' ;
  x3do:type 'SFBool' .
:ROUTE_2_21 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'isOn' ;
  x3do:fromNode 'BtnDamper' ;
  x3do:toField 'BtnDamperIsOn' ;
  x3do:toNode 'ScrBtnMgr' .
:ROUTE_2_22 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'isOn' ;
  x3do:fromNode 'BtnChaser' ;
  x3do:toField 'BtnChaserIsOn' ;
  x3do:toNode 'ScrBtnMgr' .
:ROUTE_2_23 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'WcDamper' ;
  x3do:fromNode 'ScrBtnMgr' ;
  x3do:toField 'whichChoice' ;
  x3do:toNode 'SwObjectDampered' .
:ROUTE_2_24 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'WcChaser' ;
  x3do:fromNode 'ScrBtnMgr' ;
  x3do:toField 'whichChoice' ;
  x3do:toNode 'SwObjectFollowed' .
:SwDamperTrail a owl:NamedIndividual, x3do:Switch ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :GrDamperTrail ;
  x3do:DEF 'SwDamperTrail' ;
  x3do:whichChoice 0 .
:GrDamperTrail a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :SwDamperTrail ;
  x3do:DEF 'GrDamperTrail' .
:SwChaserTrail a owl:NamedIndividual, x3do:Switch ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :GrChaserTrail ;
  x3do:DEF 'SwChaserTrail' ;
  x3do:whichChoice 0 .
:GrChaserTrail a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :SwChaserTrail ;
  x3do:DEF 'GrChaserTrail' .
:TmrTrail a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'TmrTrail' ;
  x3do:cycleInterval '0.020000000000000004' ;
  x3do:loop true .
:ScrTrailer a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_28_1, :field_2_28_2, :field_2_28_3, :field_2_28_4, :field_2_28_5, :field_2_28_6, :field_2_28_7, :field_2_28_8, :field_2_28_9, :field_2_28_10, :field_2_28_11, :field_2_28_12 ;
  x3do:DEF 'ScrTrailer' ;
  x3do:directOutput true ;
  x3do:sourceCode """
ecmascript:

function initialize()
{
    DamperTrails.length=
    ChaserTrails.length= cNumTrailPoints;

    for(var C= 0; C<cNumTrailPoints; C++ )
    {
        DamperTrails[C]= new SFNode('Transform{}');
        ChaserTrails[C]= new SFNode('Transform{}');

        DamperTrails[C].children[0]= cShapeDamperTrailPoint;
        ChaserTrails[C].children[0]= cShapeChaserTrailPoint;
    }

    GrDamperTrail.children= DamperTrails;
    GrChaserTrail.children= ChaserTrails;
}
function DamperPos(Pos)
{
    lastDamperPos= Pos;
}
function ChaserPos(Pos)
{
    lastChaserPos= Pos;
}
function Tick()
{
    for(var C= cNumTrailPoints - 1; C>0; C-- )
    {
        DamperTrails[C].translation= DamperTrails[  C - 1].translation;
        ChaserTrails[C].translation= ChaserTrails[C - 1].translation;
    }

    DamperTrails[0].translation= lastDamperPos;
    ChaserTrails[0].translation= lastChaserPos;
}
""" .
:field_2_28_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:hasChildren :Shape_2_28_1_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'cShapeDamperTrailPoint' ;
  x3do:type 'SFNode' .
:Shape_2_28_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :field_2_28_1 ;
  x3do:hasAppearance :AppObjectDampered-USE-1 ;
  x3do:hasGeometry :GeomTrail .
:AppObjectDampered-USE-1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_28_1_1 ;
  owl:sameAs :AppObjectDampered . # DEF matching this USE
:GeomTrail a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_28_1_1 ;
  x3do:DEF 'GeomTrail' ;
  x3do:radius 0.1 .
:field_2_28_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'lastDamperPos' ;
  x3do:type 'SFVec3f' ;
  x3do:value ( 0.0 0.0 0.0 ) .
:field_2_28_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'ChaserTrails' ;
  x3do:type 'MFNode' .
:field_2_28_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:hasChildren :Shape_2_28_4_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'cShapeChaserTrailPoint' ;
  x3do:type 'SFNode' .
:Shape_2_28_4_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :field_2_28_4 ;
  x3do:hasAppearance :AppObjectFollowed-USE-1 ;
  x3do:hasGeometry :GeomTrail-USE-1 .
:AppObjectFollowed-USE-1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_28_4_1 ;
  owl:sameAs :AppObjectFollowed . # DEF matching this USE
:GeomTrail-USE-1 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_28_4_1 ;
  owl:sameAs :GeomTrail . # DEF matching this USE
:field_2_28_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'DamperTrails' ;
  x3do:type 'MFNode' .
:field_2_28_6 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:hasChildren :GrChaserTrail-USE-1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'GrChaserTrail' ;
  x3do:type 'SFNode' .
:GrChaserTrail-USE-1 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :field_2_28_6 ;
  owl:sameAs :GrChaserTrail . # DEF matching this USE
:field_2_28_7 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'ChaserPos' ;
  x3do:type 'SFVec3f' .
:field_2_28_8 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'cNumTrailPoints' ;
  x3do:type 'SFInt32' ;
  x3do:value 35 .
:field_2_28_9 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'lastChaserPos' ;
  x3do:type 'SFVec3f' ;
  x3do:value ( 0.0 0.0 0.0 ) .
:field_2_28_10 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'Tick' ;
  x3do:type 'SFTime' .
:field_2_28_11 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'DamperPos' ;
  x3do:type 'SFVec3f' .
:field_2_28_12 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ScrTrailer ;
  x3do:hasChildren :GrDamperTrail-USE-1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'GrDamperTrail' ;
  x3do:type 'SFNode' .
:GrDamperTrail-USE-1 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :field_2_28_12 ;
  owl:sameAs :GrDamperTrail . # DEF matching this USE
:ROUTE_2_29 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'cycleTime' ;
  x3do:fromNode 'TmrTrail' ;
  x3do:toField 'Tick' ;
  x3do:toNode 'ScrTrailer' .
:ROUTE_2_30 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'translation' ;
  x3do:fromNode 'TrObjectDampered' ;
  x3do:toField 'DamperPos' ;
  x3do:toNode 'ScrTrailer' .
:ROUTE_2_31 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'translation' ;
  x3do:fromNode 'TrObjectFollowed' ;
  x3do:toField 'ChaserPos' ;
  x3do:toNode 'ScrTrailer' .
:ROUTE_2_32 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'WcDamper' ;
  x3do:fromNode 'ScrBtnMgr' ;
  x3do:toField 'whichChoice' ;
  x3do:toNode 'SwDamperTrail' .
:ROUTE_2_33 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'WcChaser' ;
  x3do:fromNode 'ScrBtnMgr' ;
  x3do:toField 'whichChoice' ;
  x3do:toNode 'SwChaserTrail' .
