This page contains links and brief descriptions to quick CC3D demos that show off answers to user requests and questions.
For a more complete list of models and demos see the Models page, which include much more complex models as well as models for nanoHUB.
Track the location of a cell with a tail
Want to keep track of where a cell has been? You can use a user created "field" to track the center of mass (COM) of a cell pretty easily. Or, you could create a plot. Here we show both; Left is the cell field showing 4 cells, center is a scientific plot tracking the COM of each cell, right is the track displayed as a field. In the field display, the value assigned to each tracking pixel is the MCS, so the first location gets colored blue and the most recent red in the heat maps.
Here is the zip file of the CC3D project.
Don't forget to open a new window in Player and tell that window to display "cell_track" instead of the default "Cell_Field".
Create a set of cells that look like fibers
||||What if you want to generate arbitrary shaped cells in CC3D? Here we'll do the specific case of generating long thin (fibrous) cells. Here is the zip file of the CC3D 2D project and here is the zip file of the CC3D 3D project||
Create a set of cells at defined locations using Python in CC3D
If you can mathematically define your cell locations then CC3D/Python can place your cells. (Or, just use a random number generator if you don't really care exactly where the cells are.) Here we will create a circle of cells of different cell types. Here is the zip file of the CC3D project
Import an image into CC3D
You can use the Python Image Library (PIL or Image) to import an image into CC3D. You can then load a version of the image into a user controlled field. This might be handy for converting a cell layout you created in a program like PowerPoint, or to import an image from a microscope. Or, you never know when you might want to model a dog.
This process is a bit more complex than the examples above so there is a page describing how to do it.
Below on the left is a bitmap (bmp) photo, on the right the photo after importing into CC3D and displaying it as a user controlled field. We don't have color control in CC3D so the field is displayed with CC3D's standard heat map color bar.
Import an image into CC3D and convert into cells
You can use the Python Image Library (PIL, aka Image) to import an image into CC3D and then convert that image into a cell field in CC3D. If you use a drawing program to create cell layouts as colored shapes outlined with black edges, this project will convert the regions into cells based on the colors and use the black lines to define the boundary between cells.
This process is a more complex than the examples above so there is a page describing how to do it.
Below on the left is a bitmap (.bmp) image of a cell field created in PowerPoint. The cells are outlined in black and the colors define the cell types. This particular layout is a very crude representation of converging blood vessels in the liver with the green regions representing hepatocytes (the major parenchymal cell of the liver), the blue regions are the blood vessel lumen (that is, the blood) and the small red cells are anchors for creating new blood portions. On the right is a screenshot of CC3D after the image is imported, the right hand images is the image data displayed as a CC3D user-controlled field, the left image is after the image is segmented and the cells are assigned.
Simulating a falling cell
Simulating a falling object is kind of tricky in CC3D. CC3D's world is very viscous and moving objects tend to stop moving unless a force is applied. A constant force produces a constant velocity where in a non-viscous world a constant force produces an acceleration. Still, it is possible to implement a falling object in CC3D. This is complex enough that we have a page for the CC3D project.
Animating the results of a CompuCell3D simulation
You have run a simulation and collected a ton of data. How do you show that to someone? How do you represent the dynamic nature of the cells and fields in your CC3D simulation? One useful visualization is to convert screenshots of your simulation into a movie. We have a page with some guidance on how to go about that.
You can also check out our page of simulation movies.