Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
A microscope slide where Amoebas trace parametric equations.

Attributes:
    delay: time step in ms

src/s/w/swampy-2.1.7/swampy/AmoebaWorld_test.py   swampy(Download)
    def test_amoeba_world(self):
        aw = AmoebaWorld.AmoebaWorld(interactive=True)
        a = AmoebaWorld.Amoeba()
        aw.set_end_time('3.14')
        aw.set_x_t('2*t')
    def test_amoeba(self):
        aw = AmoebaWorld.AmoebaWorld()
        a = AmoebaWorld.Amoeba()
        a.draw()
        a.move(2, 3)