Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Commit 
							
							·
						
						7f6c907
	
1
								Parent(s):
							
							9625f7f
								
Upload 4 files
Browse files- 1-SimPhysics/.DS_Store +0 -0
 - 1-SimPhysics/README.md +14 -0
 - 1-SimPhysics/index.html +12 -0
 - 1-SimPhysics/style.css +28 -0
 
    	
        1-SimPhysics/.DS_Store
    ADDED
    
    | 
         Binary file (6.15 kB). View file 
     | 
| 
         | 
    	
        1-SimPhysics/README.md
    ADDED
    
    | 
         @@ -0,0 +1,14 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            ---
         
     | 
| 2 | 
         
            +
            title: 🏖️PlayCanvas Simulation Vehicle Physics⛱️🌊 Live HTML5
         
     | 
| 3 | 
         
            +
            emoji: 1-Sim🌊
         
     | 
| 4 | 
         
            +
            colorFrom: green
         
     | 
| 5 | 
         
            +
            colorTo: gray
         
     | 
| 6 | 
         
            +
            sdk: static
         
     | 
| 7 | 
         
            +
            pinned: false
         
     | 
| 8 | 
         
            +
            ---
         
     | 
| 9 | 
         
            +
             
     | 
| 10 | 
         
            +
            Inspired by Danny Lange, VP AI and ML at Unity 
         
     | 
| 11 | 
         
            +
            Reference: https://youtu.be/YsEDv13W1RI?t=48 
         
     | 
| 12 | 
         
            +
             
     | 
| 13 | 
         
            +
            Quote on MLAgents: ... if you think about what I just said about evolution and that the creation of tools for intelligence yeah so you have the basic nature you have the 3d spatial environment you have gravity and you have inertia and the physics engine and now we throw in ml agents which is a machine learning system
         
     | 
| 14 | 
         
            +
             
     | 
    	
        1-SimPhysics/index.html
    ADDED
    
    | 
         @@ -0,0 +1,12 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            <html>
         
     | 
| 2 | 
         
            +
            <body onload="window.scrollTo({top: document.body.scrollHeight, behavior: 'smooth'});">
         
     | 
| 3 | 
         
            +
            <h1 id="smarter-npc-non-player-character-">SimPhysics</h1>
         
     | 
| 4 | 
         
            +
            <h4>User input: WASD</h4>
         
     | 
| 5 | 
         
            +
            <p>This WebGL demo demonstrates PlayCanvas and a physics vehicle simulation that is web based and playable anywhere your browser goes<a href="https://playcanv.as/p/JIwncOGZ/">🤗 Inference API</a>.</p>
         
     | 
| 6 | 
         
            +
            <p>Source code is in Readme.md file.</p>
         
     | 
| 7 | 
         
            +
            <p>PlayCanvas project <a href="https://playcanv.as/p/JIwncOGZ/"> is here</a></p>
         
     | 
| 8 | 
         
            +
            <div style="max-width: 100%;max-height: 100%;width: 100vw;height: 100vh;overflow: hidden;">
         
     | 
| 9 | 
         
            +
              <iframe style="min-width: 100%; min-height: 100%; background: black;" allowfullscreen="true" frameborder="0" src="https://playcanv.as/p/JIwncOGZ/">></iframe>
         
     | 
| 10 | 
         
            +
            </div>
         
     | 
| 11 | 
         
            +
            </body>
         
     | 
| 12 | 
         
            +
            </html>
         
     | 
    	
        1-SimPhysics/style.css
    ADDED
    
    | 
         @@ -0,0 +1,28 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            body {
         
     | 
| 2 | 
         
            +
            	padding: 2rem;
         
     | 
| 3 | 
         
            +
            	font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
         
     | 
| 4 | 
         
            +
            }
         
     | 
| 5 | 
         
            +
             
     | 
| 6 | 
         
            +
            h1 {
         
     | 
| 7 | 
         
            +
            	font-size: 16px;
         
     | 
| 8 | 
         
            +
            	margin-top: 0;
         
     | 
| 9 | 
         
            +
            }
         
     | 
| 10 | 
         
            +
             
     | 
| 11 | 
         
            +
            p {
         
     | 
| 12 | 
         
            +
            	color: rgb(107, 114, 128);
         
     | 
| 13 | 
         
            +
            	font-size: 15px;
         
     | 
| 14 | 
         
            +
            	margin-bottom: 10px;
         
     | 
| 15 | 
         
            +
            	margin-top: 5px;
         
     | 
| 16 | 
         
            +
            }
         
     | 
| 17 | 
         
            +
             
     | 
| 18 | 
         
            +
            .card {
         
     | 
| 19 | 
         
            +
            	max-width: 620px;
         
     | 
| 20 | 
         
            +
            	margin: 0 auto;
         
     | 
| 21 | 
         
            +
            	padding: 16px;
         
     | 
| 22 | 
         
            +
            	border: 1px solid lightgray;
         
     | 
| 23 | 
         
            +
            	border-radius: 16px;
         
     | 
| 24 | 
         
            +
            }
         
     | 
| 25 | 
         
            +
             
     | 
| 26 | 
         
            +
            .card p:last-child {
         
     | 
| 27 | 
         
            +
            	margin-bottom: 0;
         
     | 
| 28 | 
         
            +
            }
         
     |