Re: [Edu-sig] Python Physics Sandbox released

2017-01-13 Thread Jay Shaffstall
Version 1.4 has been released and is available for the standard pip install. Constant velocity was added, along with fixing the bug with shape specific gravity. Jay On Wed, Dec 28, 2016 at 2:13 PM, Jay Shaffstall wrote: > >How do I give the ball a horizontal velocity? >

Re: [Edu-sig] Python Physics Sandbox released

2016-12-29 Thread Jay Shaffstall
>How do I give the ball a horizontal velocity? The 1.4 development branch on github now has the ability to set a constant velocity for a shape. For example, to move it horizontally right you could use: ball1.velocity = (50, 0) I won't be releasing 1.4 to PyPi until I've tracked down a bug

Re: [Edu-sig] Python Physics Sandbox released

2016-12-17 Thread Jay Shaffstall
>If you have any Youtubes or screencasts of your project in action, I'm keen to view. Could be I missed a link at your Github. I created a YouTube channel for tutorial screencasts. Just a Hello World type one up there now, but over time I'll add more to explore other features of the sandbox.

Re: [Edu-sig] Python Physics Sandbox released

2016-12-16 Thread kirby urner
Thanks for doing all this. I mentioned this thread to a physics listserv frequented by those looking in to effectively teaching same [1]. Your project is geared to students learning to code, which could include future physics engine designers. Great way to get one's feet wet, not just using the

Re: [Edu-sig] Python Physics Sandbox released

2016-12-16 Thread Jay Shaffstall
> > If what you're looking for is a constant velocity, there isn't any way to >> do that right now, but you might play with the ball's gravity and damping >> values to see if you can get the right effect. >> > > Is gravity global to the scene? Maybe it could be toggled on and off, > given zero-G

Re: [Edu-sig] Python Physics Sandbox released

2016-12-16 Thread kirby urner
On Wed, Dec 14, 2016 at 10:54 AM, Jay Shaffstall wrote: > > If what you're looking for is a constant velocity, there isn't any way to > do that right now, but you might play with the ball's gravity and damping > values to see if you can get the right effect. > Is gravity

Re: [Edu-sig] Python Physics Sandbox released

2016-12-16 Thread Jay Shaffstall
Hi Eric, Glad the sandbox is working for you! You've got a couple of options for giving the ball a horizontal velocity, depending on what effect you want. If you want an instantaneous horizontal kick, but after that the ball responds normally to gravity, use b1.hit and set the y part of the