<div dir="ltr">I'm going to work on x3djsonld.py in hopes of finding a python solution.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 24, 2022 at 3:06 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Fire.py<br> File "C:\Users\john\X3DJSONLD\src\main\python\net\x3djsonld\Library\Tests\Components\ParticleSystems\Fire.py", line 82<br> WindPhysicsModel(direction=(1,-1,0),speed=0.15,gustiness=7)<br> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>SyntaxError: invalid syntax. Perhaps you forgot a comma?<br><div><br></div><div>Here's a piece of the source code that appears in Fire.py:</div><div><br></div><div> ParticleSystem(DEF='Fire2',geometryType='SPRITE',particleLifetime=2,lifetimeVariation=0.5,particleSize=(1,1),colorKey=[0],texCoordKey=[0,0.015625,0.03125,0.046875,0.0625,0.078125,0.09375,0.109375,0.125,0.140625,0.15625,0.171875,0.1875,0.203125,0.21875,0.234375,0.25,0.265625,0.28125,0.296875,0.3125,0.328125,0.34375,0.359375,0.375,0.390625,0.40625,0.421875,0.4375,0.453125,0.46875,0.484375,0.5,0.515625,0.53125,0.546875,0.5625,0.578125,0.59375,0.609375,0.625,0.640625,0.65625,0.671875,0.6875,0.703125,0.71875,0.734375,0.75,0.765625,0.78125,0.796875,0.8125,0.828125,0.84375,0.859375,0.875,0.890625,0.90625,0.921875,0.9375,0.953125,0.96875,0.984375,1],<br> emitter=PointEmitter(direction=(0,0,0),speed=0.2,variation=0,mass=0.1,surfaceArea=0.1),<br> physics=WindPhysicsModel(direction=(0,1,0),speed=0.5,gustiness=1.9),<br> WindPhysicsModel(direction=(1,-1,0),speed=0.15,gustiness=7)<br> color=ColorRGBA(color=[(1,1,1,0.1)]),<br></div><div><br></div><div>Here's the XML:</div><div><br></div><div> <ParticleSystem DEF='Fire2'<br> geometryType='SPRITE'<br> particleLifetime='2'<br> lifetimeVariation='0.5'<br> particleSize='1 1'<br> colorKey='0'<br> texCoordKey='0, 0.015625, 0.03125, 0.046875, 0.0625, 0.078125, 0.09375, 0.109375, 0.125, 0.140625, 0.15625, 0.171875, 0.1875, 0.203125, 0.21875, 0.234375, 0.25, 0.265625, 0.28125, 0.296875, 0.3125, 0.328125, 0.34375, 0.359375, 0.375, 0.390625, 0.40625, 0.421875, 0.4375, 0.453125, 0.46875, 0.484375, 0.5, 0.515625, 0.53125, 0.546875, 0.5625, 0.578125, 0.59375, 0.609375, 0.625, 0.640625, 0.65625, 0.671875, 0.6875, 0.703125, 0.71875, 0.734375, 0.75, 0.765625, 0.78125, 0.796875, 0.8125, 0.828125, 0.84375, 0.859375, 0.875, 0.890625, 0.90625, 0.921875, 0.9375, 0.953125, 0.96875, 0.984375, 1'><br> <PointEmitter<br> direction='0 0 0'<br> speed='0.2'<br> variation='0'<br> mass='0.1'<br> surfaceArea='0.1'/><br> <WindPhysicsModel<br> direction='0 1 0'<br> speed='0.5'<br> gustiness='1.9'/><br> <WindPhysicsModel<br> direction='1 -1 0'<br> speed='0.15'<br> gustiness='7'/><br> <ColorRGBA containerField='colorRamp'<br> color='1 1 1 0.1'/><br></div></div>
</blockquote></div>