I'm very pleased to announce the general release of a Python physics
sandbox targeting students in intro programming courses. We teach Python
as a first language here and a physics simulation has long been one of the
students' favorite labs. But the simulation we were using, while easy to
use,
, and it's working:
>
> import pyphysicssandbox as ps
> ps.window("ball", 600, 400)
>
> b1 = ps.ball((100, 0), 30)
> ps.run()
>
> How do I give the ball a horizontal velocity?
>
> Eric
>
>
>
> On Tue, Dec 13, 2016 at 5:46 AM, Jay Shaffstall <jsha
>
> 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
>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.
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 <jshaffst...@gmail.com>
wrote:
> >How do I give the ball a horizon
>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
The GUI package manager is very nice! That should make it easier for my
students who are trying to install my physics sandbox for my intro class.
Some of them struggled with the command line way of adding packages.
Jay
On Tue, May 2, 2017 at 2:39 PM, Aivar Annamaa wrote:
This isn't that one, but does support Blockly and Python (along with
others), and is browser based. http://reeborg.ca/reeborg.html
I use the older offline version in my intro to computer science courses to
introduce Python.
Jay
On Fri, Dec 15, 2017 at 12:20 PM, Aivar Annamaa
> How do your students transfer files between computer lab and their home
computers? How do they submit code? Would the concept or "project" simplify
this?
For the intro class in which I use Thonny, students use USB sticks to copy
files and submit via a Blackboard course. The concept of a
>Along those lines: REPL.IT, favored by many a Python teacher, yet so
little explored by me. Like with LinkedIn and so
>many of these Web 2.0 tools, we get so many cool features.
REPL.IT also supports PyGame in the browser, which is very cool. I use it
in my coding camps to let the kids write
Does anyone have experience providing programming code as Braille for
visually impaired students? I'll be meeting with a prospective college
student on Tuesday who'll need all visual materials provided in Braille,
and I wanted to get a sense of how programs were typically converted.
Jay
I use Thonny for my intro class at the university level (that class
includes non-majors taking the course for general education credit). I
quite like PyCharm for CS majors in later courses.
Jay
On Wed, Apr 7, 2021 at 2:59 AM Jurgis Pralgauskis <
jurgis.pralgaus...@gmail.com> wrote:
> Hi,
>
>
12 matches
Mail list logo