Skip to content

Instantly share code, notes, and snippets.

View andreasplesch's full-sized avatar

Andreas Plesch andreasplesch

  • Earthstruct
  • Waltham, MA
View GitHub Profile
@andreasplesch
andreasplesch / FontHaveFunWithX3D.x3d
Last active March 29, 2025 15:18
Test new FontStyle.url field for custom fonts
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.1//EN" "https://www.web3d.org/specifications/x3d-4.1.dtd">
<X3D profile='Full' version='4.1' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.1.xsd'>
<head>
<meta content='TextHaveFunWithX3D.x3d' name='title'/>
<meta content='Simple smiley-face example illustrating an emoticon character entity, used within an MFString Text.' name='description'/>
<meta content='Don Brutzman' name='creator'/>
<meta content='26 April 2017' name='created'/>
<meta content='18 June 2024' name='modified'/>
<meta content='27 Feb 2023' name='modified'/>
@andreasplesch
andreasplesch / ManyClocks_John.x3d
Last active February 5, 2025 20:34
many clocks with defaults
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd"><X3D profile="Immersive" version="4.0">
<head>
<component name="HAnim" level="3" />
<meta name="title" content="ManyClocks.x3d" />
<meta name="identifier" content="https://coderextreme.net/X3DJSONLD/src/main/data/ManyClocks.x3d" />
<meta name="description" content="X3D scene with multiple facial animations controlled by a multi-selection menu" />
<meta name="created" content="12 December 2024" />
<meta name="modified" content="13 December 2024" />
<meta name="creator" content="John Carlson, Joe Williams, Gyu Ri Cho, Hyun Ho Chu, Min Joo Lee, Yujin Jung" />
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D profile='Immersive' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'>
<head>
<meta name='title' content='Figure30_2ScriptBackgroundSelect.x3d'/>
<meta name='creator' content='Figure 30.2, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/>
<meta name='reference' content='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch30/30fig02.htm'/>
<meta name='translator' content='Don Brutzman'/>
<meta name='created' content='2 September 2000'/>
<meta name='modified' content='20 October 2019'/>
@andreasplesch
andreasplesch / toggleHAnim.x3d
Created December 17, 2024 22:41
toggleHAnim.x3d
<X3D profile='Full' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-4.0.xsd ' >
<head>
<meta name='title' content='toggleButtonExample.x3d '/>
<meta name='description' content='nine individual toggles'/>
<meta name='creator' content='Andreas Plesch'/>
<meta name='created' content='December 2024'/>
<meta name='subject' content='event utilities, no scripts'/>
<meta name='generator' content='https://andreasplesch.github.io/Library/Viewer/index.html'/>
<meta name='license' content='MIT'/>
</head>
@andreasplesch
andreasplesch / toggleButtonExample.x3d
Last active February 1, 2025 20:29
X3D toggle button
<X3D profile='Full' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-4.0.xsd ' >
<head>
<meta name='title' content='toggleButtonExample.x3d '/>
<meta name='description' content='nine individual toggles'/>
<meta name='creator' content='Andreas Plesch'/>
<meta name='created' content='December 2024'/>
<meta name='subject' content='event utilities, no scripts'/>
<meta name='generator' content='https://andreasplesch.github.io/Library/Viewer/index.html'/>
<meta name='license' content='MIT'/>
</head>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "http://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D profile='Interchange' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-4.0.xsd'>
<head>
<component name='CubeMapTexturing' level='3'/>
<meta name='created' content='Fri, 23 Aug 2024 19:51:47 GMT'/>
<meta name='creator' content='Holger Seelig'/>
<meta name='generator' content='Sunrize X3D Editor V1.7.12, https://create3000.github.io/sunrize/'/>
<meta name='modified' content='Sat, 24 Aug 2024 11:20:35 GMT'/>
</head>
@andreasplesch
andreasplesch / rotatingDirLight.x3d
Created August 20, 2024 15:24
animated directional light
<X3D>
<Scene>
<NavigationInfo headlight='true'></NavigationInfo>
<!-- <NavigationInfo headlight='false'></NavigationInfo> -->
<!-- look down to the north at 90-75 degrees from vertical, adjust position by subtracting 15 degrees lat. -->
<GeoViewpoint DEF='SanDiegoVP' position='27.715, -117.1625, 30000000' orientation='1, 0, 0, -1.31' centerOfRotation='0 10 -6371000' description='oblique SanDiego'></GeoViewpoint>
<X3D profile='Full' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-4.0.xsd ' >
<head>
<meta name='title' content='Web3d2024_intro.x3d '/>
<meta name='description' content='animated globe with Web3d conference locations'/>
<meta name='creator' content='Andreas Plesch'/>
<meta name='created' content='24 August 2024'/>
<meta name='subject' content='X3D geospatial example'/>
<meta name='generator' content='https://andreasplesch.github.io/Library/Viewer/index.html'/>
<meta name='license' content='GPL'/>
</head>
@andreasplesch
andreasplesch / notes.md
Last active August 15, 2024 22:21
VRM2 update to x3dom 1.8.3

Geometry3dExt.js and Geometry2d.js is too old; remove and use x3dom-full

@andreasplesch
andreasplesch / inScaledV2L1LOA4Sites09d_AP.x3d
Last active April 27, 2024 17:36
inScaledV2L1LOA4Sites09d.x3d
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D profile='Immersive' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'>
<head>
<component name='HAnim' level='1'/>
<meta content='JinScaledV2L1LOA4Sites09d.x3d' name='title'/>
<meta content='Jin Hoon Lee and Min Joo Lee' name='creator'/>
<meta content='Chul Hee Jung and Myeong Won Lee' name='translator'/>
<meta content='31 March 2011' name='created'/>