// Generated by Phun beta 4.22 App.Background.cloudOpacity = 0.899999976; App.Background.drawClouds = true; App.Background.skyColor = [0.300000012, 0.400000006, 1.0, 1.0]; App.Background.skycolor = [-0.149464503]; App.DPI = 86.0; App.GUI.autoGlue = false; App.GUI.dragUndo = true; App.GUI.drawHingesWhenRunning = true; App.GUI.freeDrawing = false; App.GUI.leftClickMenus = false; App.GUI.simpleMode = false; App.GUI.trapUser = false; App.GUI.zoomFactor = 0.200000003; Scene.addWidget { minimized = false; pos = [0.0, 20.0]; widgetID = "SimControl"; title = "Simulation control" }; Scene.addWidget { minimized = false; pos = [0.0, 56.0]; widgetID = "Toolbar"; title = "Toolbar" }; App.autosaveTime = 30.0; App.borderWidth = 0.100000001; App.borders = true; App.chainDensityFactor = 20.0; App.dragToolStrength = 0.25; App.drawBCs = false; App.drawBodyCenters = false; App.drawCollisions = false; App.drawMapOBBs = false; App.drawOBBs = false; App.drawParticleCenters = false; App.drawParticleNeighbors = false; App.drawSelectionOBB = false; App.drawVertices = false; App.fadeColor = [0.0, 0.0, 0.0]; App.fadeRotate = {sin(System.time * 1.20000005)}; App.fadeScale = [0.949999988, 0.949999988]; App.fadeTranslate = {[3 * sin(time), 2 * sin(time)]}; App.faderotate = [12]; App.fadetime = [4]; App.language = "English"; App.lineWidth = 4.0; App.maxPointDist = 0.5; App.maxSPHSpawn = 10000; App.maxUndo = 25; App.metaCutoff = 0.5; App.minPointDist = 0.200000003; App.pointSize = 4.0; App.polyTCFactor = [10.0, 10.0]; App.selectColor = [1.0, 0.5, 0.5]; App.simRunning = false; App.simpleWater = true; App.skycolor = 123; App.waterColor = [0.100000001, 0.100000001, 1.0, 0.699999988]; App.waterElongation = 0.0500000007; App.waterFanceyFactor = 10.0; App.waterMaxElongation = 2.0; Console.color = [0.100000001, 0.100000001, 0.100000001, 0.800000012]; Console.delay = 0.300000012; Console.fade = false; Console.screenSize = 0.349999994; Console.scroll = true; FileInfo.author = ""; FileInfo.description = ""; FileInfo.title = ""; FileInfo.version = 2; GUI.clickTimeTolerance = 0.300000012; GUI.clickTolerance = 3.5; GUI.crispFontFactor = 0.5; GUI.crispFonts = false; GUI.font = "arial_black"; GUI.fontShadow = true; GUI.fontShadowOffset = [0.0625, 0.0625]; GUI.forceOSCursor = false; GUI.opaqueness = 0.899999976; GUI.scale = 1.0; Keys.bind("f6", {App.drawBodyCenters = ! App.drawBodyCenters}); Keys.bind("f7", {App.drawVertices = ! App.drawVertices}); Keys.bind("f8", {App.drawCollisions = ! App.drawCollisions}); Keys.bind("f4", {Sim.gravitySwitch = ! Sim.gravitySwitch}); Keys.bind("f12", {System.screenshot}); Resources.force16BitTextures = true; Resources.shaders = false; SPH.AVG_density = 12.6162968; SPH.AVG_neighCount = 1.39416063; SPH.AVG_pressure = 4646.52002; SPH.bucketSize = 2.0; SPH.color = 12; SPH.density = 1; SPH.friction = 0.0500000007; SPH.hashInfo = "Number of elements: 113\nAverage bucket size: 0.0579785\nMaximum bucket size: 2\n"; SPH.influence = 2.0; SPH.jitter = 0; SPH.pressMultiplier = 1.0; SPH.radius = 0.0500000007; SPH.restitution = 1; SPH.soundSpeed = 20.0; SPH.soundspeed = 20; SPH.specialPressure = true; SPH.surfaceTension = 0.0; SPH.vaporizeTime = 5.0; SPH.velocitySmoothing = true; SPH.vescocity = 1; SPH.viscMultiplier = 1.0; SPH.viscosity = 0.5; Scene.Camera.pan = [0.0, 0.0]; Scene.Camera.zoom = 150.0; Scene.author = ""; Scene.description = ""; Scene.title = ""; Sim.adHocSolver = false; Sim.airDensity = 0.00999999978; Sim.airFrictionLinear = 0.00999999978; Sim.airFrictionQuadratic = 0.0; Sim.airSwitch = true; Sim.defaultBodyDensity = 2.0; Sim.defaultBodyFriction = 0.5; Sim.defaultBodyRestitution = 0.5; Sim.fallLimit = 1000.0; Sim.gravity = [0.0, -9.80000019]; Sim.gravitySwitch = true; Sim.leapFrog = true; Sim.maxPositionCorrection = +inf; Sim.prioritizedSolver = false; Sim.rotFrictionLinear = 0.00999999978; Sim.running = true; Sim.solveAccFactor = 1.0; Sim.solveConstant = 100000000.0; Sim.solveDconstraints = 5.0; Sim.solveDcontacts = 5.0; Sim.solveDistFactor = 1.0; Sim.solveIter = 30; Sim.solvePenetrationDamping = false; Sim.solvePreSortConstraints = true; Sim.solveRegularizationFactor = 1.0; Sim.solveVelFactor = 1.0; Sim.springForce = 1000.0; Sim.targetPenetration = 0.00100000005; Sim.timeDelta = 0.00999999978; Sim.timeFactor = 1.0; Sim.warmStart = true; Sim.warmStartFactor = 0.5; System.antiAlias = 1; System.depth = 32; System.fullscreen = false; System.maxFPS = 60.0; System.minFPS = 20.0; System.resizable = true; System.resolution = [1024, 712]; System.vSync = true; bigwater = {SPH.radius = 2}; bigwateroff = {SPH.radius = 0.0500000007}; bouncywater = {SPH.jitter = 50}; bouncywateroff = {SPH.jitter = 1}; car = { App.Background.drawClouds = true; App.Background.skyColor = [0.300000012, 0.400000006, 1.0, 1.0]; App.fadeColor = [0.0, 0.0, 0.0]; Scene.addPolygon({ pos = [0.00934345182, -0.651033342]; geomID = 33089; entityID = 162; controllerReverseXY = false; controllerInvertX = false; controllerInvertY = false; collideSet = 1; density = 2.0; color = [0.467715919, 0.567116976, 0.670220912, 1.0]; controllerAcc = 10.8000002; zDepth = 0.0; collideWater = true; airFrictionMult = 1.0; restitution = 0.5; heteroCollide = false; vecs = [[2.13065672, 0.00436645746], [2.0234344, 0.0210331082], [1.91621208, 0.0376998186], [1.80898988, 0.0543664694], [1.70176768, 0.0710331202], [1.59454548, 0.0876997709], [1.48732316, 0.104366481], [1.38010097, 0.121033132], [1.27287877, 0.137699783], [1.16565657, 0.154366463], [1.05843437, 0.171033144], [0.951212108, 0.187699825], [0.843989909, 0.204366475], [0.791989923, 0.303033143], [0.739989936, 0.401699841], [0.687989891, 0.500366509], [0.635989904, 0.599033177], [0.583989918, 0.697699845], [0.471608967, 0.697699845], [0.359228015, 0.697699845], [0.246847034, 0.697699845], [0.134466097, 0.697699845], [0.0220851451, 0.697699845], [-0.0902958363, 0.697699845], [-0.202676773, 0.697699845], [-0.315057725, 0.697699845], [-0.427438676, 0.697699845], [-0.539819598, 0.697699845], [-0.652200639, 0.697699845], [-0.764581561, 0.697699845], [-0.876962543, 0.697699845], [-0.989343464, 0.697699845], [-1.10172451, 0.697699845], [-1.21410537, 0.697699845], [-1.32648635, 0.697699845], [-1.43886733, 0.697699845], [-1.55124831, 0.697699845], [-1.66362917, 0.697699845], [-1.77601016, 0.697699845], [-1.77601016, 0.591639221], [-1.77601016, 0.485578597], [-1.77601016, 0.379517972], [-1.77601016, 0.273457378], [-1.77601016, 0.167396754], [-1.77601016, 0.0613361597], [-1.77601016, -0.0447244644], [-1.77601016, -0.150785089], [-1.77601016, -0.256845653], [-1.77601016, -0.362906277], [-1.77601016, -0.468966901], [-1.66418493, -0.473288596], [-1.55235958, -0.477610409], [-1.44053435, -0.481932104], [-1.32870913, -0.486253917], [-1.2168839, -0.490575612], [-1.10505855, -0.494897425], [-0.993233204, -0.49921912], [-0.881407917, -0.503540933], [-0.769582689, -0.507862628], [-0.657757461, -0.512184441], [-0.545932174, -0.516506135], [-0.434106946, -0.52082783], [-0.322281629, -0.525149643], [-0.210456312, -0.529471338], [-0.0986311212, -0.533793151], [0.0131942024, -0.538114846], [0.125019416, -0.542436659], [0.236844733, -0.546758354], [0.348669946, -0.551080167], [0.460495144, -0.555401862], [0.57232058, -0.559723675], [0.684145749, -0.56404537], [0.795970976, -0.568367183], [0.907796204, -0.572688878], [1.01962161, -0.577010691], [1.13144672, -0.581332386], [1.24327195, -0.58565408], [1.35509741, -0.589975893], [1.46692264, -0.594297588], [1.57874787, -0.598619401], [1.69057298, -0.602941096], [1.80239844, -0.607262909], [1.91422367, -0.611584604], [2.0260489, -0.615906417], [2.13787413, -0.620228112], [2.24969959, -0.624549925], [2.36152482, -0.62887162], [2.32304668, -0.52333194], [2.28456879, -0.417792261], [2.24609065, -0.312252581], [2.20761275, -0.206712902], [2.16913486, -0.101173222]]; friction = 0.5; angle = 0.0 }); Scene.addCircle({ pos = [-1.27333343, -1.01333356]; geomID = 33099; entityID = 172; controllerReverseXY = false; controllerInvertX = false; controllerInvertY = false; radius = 0.532207191; collideSet = 1; density = 2.0; color = [0.363000005, 0.204999998, 0.412999988, 1.0]; controllerAcc = 10.8000002; zDepth = 1.0; collideWater = true; airFrictionMult = 1.0; restitution = 0.5; heteroCollide = false; friction = 0.5; angle = -1.78538942 }); Scene.addCircle({ pos = [1.85905457, -1.12000024]; geomID = 33229; entityID = 174; controllerReverseXY = false; controllerInvertX = false; controllerInvertY = false; radius = 0.532207191; collideSet = 1; density = 2.0; color = [0.363000005, 0.204999998, 0.412999988, 1.0]; controllerAcc = 10.8000002; zDepth = 2.0; collideWater = true; airFrictionMult = 1.0; restitution = 0.5; heteroCollide = false; friction = 0.5; angle = -1.78538942 }); Scene.addHinge({ motorSpeed = 1.57079637; ccw = false; autoBrake = false; geom0pos = [-2.50154102e-08, 7.09975012e-08]; distanceLimit = +inf; entityID = 173; geom1pos = [-1.28267682, -0.362300217]; color = [0.5, 0.5, 0.5, 1.0]; impulseLimit = +inf; size = 0.150481954; zDepth = 3.0; geom0 = 33099; motor = false; motorTorque = 100.0; geom1 = 33089 }); Scene.addHinge({ motorSpeed = 1.57079637; ccw = false; autoBrake = false; geom0pos = [2.40085996e-09, 1.03846595e-07]; distanceLimit = +inf; entityID = 175; geom1pos = [1.84971118, -0.468966901]; color = [0.5, 0.5, 0.5, 1.0]; impulseLimit = +inf; size = 0.150481954; zDepth = 4.0; geom0 = 33229; motor = false; motorTorque = 100.0; geom1 = 33089 }); Scene.addGroup({ name = "selected"; entityIDs = [] }) }; chaos = { App.waterColor = [0.5, 0.699999988, 1.0, 0.699999988]; SPH.jitter = 88; SPH.density = 100; SPH.radius = 0.5 }; chaosoff = { App.waterColor = [0.100000001, 0.100000001, 1.0, 0.699999988]; SPH.jitter = 0; SPH.density = 1; SPH.radius = 0.0500000007 }; cos = {math.cos}; exit = {System.exit}; groovyOff = { App.fadeColor = [0, 0, 0]; App.Background.skyColor = [0.300000012, 0.400000006, 1, 1] }; groovyOn = { App.fadeColor = [0.800000012, 0, 0.899999976]; App.fadeTranslate = {[3 * sin(time), 2 * sin(time)]}; App.fadeRotate = {sin(System.time * 1.20000005)}; App.Background.skyColor = [0, 0, 0, 0] }; heavywater = {SPH.density = 100}; heavywateroff = {SPH.density = 1}; sin = {math.sin}; stickywater = {SPH.friction = 2.0}; stickywateroff = {SPH.friction = 0.0500000007}; time = {System.time}