Skip to content

Instantly share code, notes, and snippets.

@kenwebb
Last active November 6, 2023 00:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenwebb/a5da7b8dbd2ae0323cfb3d9b8f1bb5c4 to your computer and use it in GitHub Desktop.
Save kenwebb/a5da7b8dbd2ae0323cfb3d9b8f1bb5c4 to your computer and use it in GitHub Desktop.
Vestibular
<?xml version="1.0" encoding="UTF-8"?>
<!--Xholon Workbook http://www.primordion.com/Xholon/gwt/ MIT License, Copyright (C) Ken Webb, Sun Nov 05 2023 19:46:12 GMT-0500 (Eastern Standard Time)-->
<XholonWorkbook>
<Notes><![CDATA[
Xholon
------
Title: Vestibular
Description:
Url: http://www.primordion.com/Xholon/gwt/
InternalName: a5da7b8dbd2ae0323cfb3d9b8f1bb5c4
Keywords:
My Notes
--------
5 Nov 2023
Create a Xholon model of human systems having to do with balance.
### References
() https://en.wikipedia.org/wiki/Vestibular_system
The vestibular system, in vertebrates, is a sensory system that creates the sense of balance and spatial orientation
for the purpose of coordinating movement with balance.
() https://vestibular.org
() https://vestibular.org/article/what-is-vestibular/the-human-balance-system/the-human-balance-system-how-do-we-maintain-our-balance/
The Human Balance System
Article Summary
Maintaining balance depends on information received by the brain from the eyes, muscles and joints, and vestibular organs in the inner ear.
When this system is disrupted by damage to one or more components through injury, disease, or the aging process
you may experience impaired balance accompanied by other symptoms such as dizziness, vertigo, vision problems, nausea, fatigue, and concentration difficulties.
() search: human balance
() search: vestibular hack
() https://hackaday.com/tag/vestibular/
VR Sickness: A New, Old Problem
November 29, 2022 by Donald Papp
Have you ever experienced dizziness, vertigo, or nausea while in a virtual reality experience?
That’s VR sickness, and it’s a form of motion sickness.
It is not a completely solved problem, and it affects people differently, but it all comes from the same root cause,
and there are better and worse ways of dealing with it.
]]></Notes>
<_-.XholonClass>
<BalanceSystem/>
<VestibularSystem/>
<Brain/>
<Sensor/>
<!-- peripheral sources of sensory inputs -->
<Eye/>
<MuscleJoint/>
<VestibularOrgan/>
<Ear/>
</_-.XholonClass>
<xholonClassDetails>
<!--<Block>
<port name="height" connector="Height"/>
</Block>-->
</xholonClassDetails>
<BalanceSystem>
<!-- peripheral sources -->
<Eye/>
<MuscleJoint/>
<VestibularSystem>
<!-- inputs -->
<Sensor>
</Sensor>
</VestibularSystem>
</BalanceSystem>
<BalanceSystembehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[
var a = 123;
var b = 456;
var c = a * b;
if (console) {
console.log(c);
}
//# sourceURL=BalanceSystembehavior.js
]]></BalanceSystembehavior>
<Heightbehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[
var myHeight, testing;
var beh = {
postConfigure: function() {
testing = Math.floor(Math.random() * 10);
myHeight = this.cnode.parent();
},
act: function() {
myHeight.println(this.toString());
},
toString: function() {
return "testing:" + testing;
}
}
//# sourceURL=Heightbehavior.js
]]></Heightbehavior>
<Brickbehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[
$wnd.xh.Brickbehavior = function Brickbehavior() {}
$wnd.xh.Brickbehavior.prototype.postConfigure = function() {
this.brick = this.cnode.parent();
this.iam = " red brick";
};
$wnd.xh.Brickbehavior.prototype.act = function() {
this.brick.println("I am a" + this.iam);
};
//# sourceURL=Brickbehavior.js
]]></Brickbehavior>
<Brickbehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[
console.log("I'm another brick behavior");
]]></Brickbehavior>
<SvgClient><Attribute_String roleName="svgUri"><![CDATA[data:image/svg+xml,
<svg width="100" height="50" xmlns="http://www.w3.org/2000/svg">
<g>
<title>Balance System</title>
<rect id="BalanceSystem" fill="#98FB98" height="50" width="50" x="25" y="0"/>
<g>
<title>Vestibular System</title>
<rect id="BalanceSystem/VestibularSystem" fill="#6AB06A" height="50" width="10" x="80" y="0"/>
</g>
</g>
</svg>
]]></Attribute_String><Attribute_String roleName="setup">${MODELNAME_DEFAULT},${SVGURI_DEFAULT}</Attribute_String></SvgClient>
</XholonWorkbook>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment