Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/lamont/test/particle.diderot
ViewVC logotype

Diff of /branches/lamont/test/particle.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2083, Thu Nov 8 18:42:05 2012 UTC revision 2090, Sun Nov 11 17:38:02 2012 UTC
# Line 1  Line 1 
1    
2  int worldWidth = 500;  int worldWidth = 500;
3  int worldHeight = 500;  int worldHeight = 500;
4  int particleRadius = 4;  int strandSize = 4;
5    
6  // Particle(x,y)  // Particle(x,y)
7  strand Particle (int x, int y) {  strand Particle (int x, int y) {
# Line 13  Line 13 
13    
14      update {      update {
15           int t = 3;           int t = 3;
16           int count = 0;           int count = strandSize;
17           foreach(Particle p in sphere(5)){           foreach(Particle p in sphere(5)){
18              t = p.id;              t = p.id;
19              count = count + 1  + t;              count = count + 1  + t;

Legend:
Removed from v.2083  
changed lines
  Added in v.2090

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0