Compare commits
No commits in common. '6520435afabb3bb4cf703b96b415fbc1ec5c291a' and 'c5b2c33ed850b51e78129b87b5e799e8bfd935da' have entirely different histories.
6520435afa
...
c5b2c33ed8
13 changed files with 108 additions and 154 deletions
@ -1,15 +1,18 @@ |
|||||||
import Animation from './animation'; |
import Animation from './animation'; |
||||||
import Controls from './controls'; |
import Controls from './controls'; |
||||||
import { BEHAVIOR } from './enums'; |
|
||||||
|
|
||||||
export default function(destroy$) { |
export default function(destroy$) { |
||||||
const id = '3a'; |
const id = '3a'; |
||||||
const config = { |
const config = { |
||||||
id, |
id, |
||||||
maxCount: 10, |
count: 5, |
||||||
showVisionGridControl: true |
maxCount: 1000, |
||||||
|
showAlignmentControl: true, |
||||||
|
showCohesionControl: true, |
||||||
|
showSeparationControl: true, |
||||||
|
// showVisionGridControl: true
|
||||||
}; |
}; |
||||||
|
|
||||||
const observables = Controls(destroy$, config); |
const observables = Controls(destroy$, config); |
||||||
new Animation(observables, id, BEHAVIOR.COHESION).addHazards(); |
new Animation(observables, id); |
||||||
} |
} |
||||||
|
@ -1,15 +1,16 @@ |
|||||||
import Animation from './animation'; |
import Animation from './animation'; |
||||||
import Controls from './controls'; |
import Controls from './controls'; |
||||||
import { BEHAVIOR } from './enums'; |
|
||||||
|
|
||||||
export default function(destroy$) { |
export default function(destroy$) { |
||||||
const id = '3b'; |
const id = '3b'; |
||||||
const config = { |
const config = { |
||||||
id, |
id, |
||||||
count: 200, |
maxCount: 10, |
||||||
maxCount: 1000 |
showAlignmentControl: true, |
||||||
|
showCohesionControl: true, |
||||||
|
showSeparationControl: true |
||||||
}; |
}; |
||||||
|
|
||||||
const observables = Controls(destroy$, config); |
const observables = Controls(destroy$, config); |
||||||
new Animation(observables, id, BEHAVIOR.COHESION); |
new Animation(observables, id).addHazards(); |
||||||
} |
} |
||||||
|
@ -1,15 +0,0 @@ |
|||||||
import Animation from './animation'; |
|
||||||
import Controls from './controls'; |
|
||||||
import { BEHAVIOR } from './enums'; |
|
||||||
|
|
||||||
export default function(destroy$) { |
|
||||||
const id = '3c'; |
|
||||||
const config = { |
|
||||||
id, |
|
||||||
count: 200, |
|
||||||
maxCount: 1000 |
|
||||||
}; |
|
||||||
|
|
||||||
const observables = Controls(destroy$, config); |
|
||||||
new Animation(observables, id, BEHAVIOR.COHESION).addHazards(1); |
|
||||||
} |
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue