-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
69 lines (68 loc) · 2.25 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/ Make a particle pool, so that emitters don't just accrue more and more
particles if they never go off-screen
/ Make a global pool size limit - that is, a maximum number of entities
across all pools
/ Add setSize method to pools, which allows them to grow/shrink
dynamically
/ Add PoolManager class/singleton, which allows creating/destroying
pools of various sizes
/ Make things hoverable:
/ Emitters
/ RadialForces
/ ConstantForce
/ Make things draggable:
/ Emitters
/ RadialForces
/ ConstantForce
/ Fix bug where clicking on any item drags it a bit
/ Make things selectable:
/ Emitters
/ RadialForces
/ ConstantForce
- Add pulsing animation for selected item
/ Add config panels for things:
/ Emitters
/ RadialForces
/ ConstantForce
- Improve drawings:
/ Arrow for ConstantForce
- Radial gradiant for RadialForce sucks...
/ ConstantForce arrow head isn't correct for all angles!
/ Make things deletable:
/ From panel:
/ Emitters
/ RadialForces
/ ConstantForce
/ from keyboard:
/ Emitters
/ RadialForces
/ ConstantForce
/ Change Emitter start/end angle to angle and spread
/ Add velocity to emitters, and add it to emitted particles
/ Make angles in panel degrees
- Make click detection track distance traveled, rather than comparing
start/end points?
/ Figure out why I'm inconsistently integrating over time (e.g., is it vx +=
ax * dt, or vx += ax * dt / 1000?)
/ Rename collision.js to geometry.js
/ Make items movable with arrow keys
- Make buttons to add:
- Emitters
- RadialForces
- ConstantForce
- Make it work on mobile:
- Touch events
- Panels fill screen
- Add help panel/window:
- Open via button
/ Open via '?'
- Make items keep their speed
- Make items bounce off sides of viewport
/ Make time speed configurable with +/-
/ Investigate why sometimes deleting an item doesn't close the panel
/ Invert mass definition - positive mass should mean attraction
/ Fix selection bug:
/ Click on emitter, leave mouse hovered over it
/ Press arrow keys to move emitter
/ Observe that when emitter leaves mouse cursor, selection ends and movement
stops