Commits

Anonymous committed 71d95b5

runs, looks promising, partly broken

Comments (0)

Files changed (2)

fungus_advection.py

 
 ### Scene data
 
-IMAGE_BLOB = "blob_transparent_borders_monotone.png"
+IMAGE_BLOB = "blob_transparent_borders_monotone_klein.png"
 
 ### The Scene itself. 
 
 
     def add_blob(self, blob):
         """Add a new blob"""
-        blobby = self.core.sprite(IMAGE_BLOB, x=blob.x*10, y=blob.y*10)
+        blobby = self.core.sprite(IMAGE_BLOB, x=blob.x/10, y=blob.y/10)
         self.visible.append(blobby)
 
     def update(self): 
         
         # synchronize positions
         for i in range(len(self.blobs)):
-            self.visible[i].x = self.blobs[i].x
-            self.visible[i].y = self.blobs[i].y
-
-
+            self.visible[i].x = self.blobs[i].x/4
+            self.visible[i].y = self.blobs[i].y/4

graphics/blob_transparent_borders_monotone_klein.png

Added
New image