- newfile()
- windowUI()
- Window has trunk scale already set to 1
- Start
- Uses scale for cube
- Draw trunk
- Update Window w/ attributes
- On scale change, redraw trunk
- Draw first level branches
- 1/4 scale of trunk
- Each has controller on end
- Scale attribute on it
- Taper/etc on too
- Draw next level of branches (Button 'New Branch Level')
- If first level hasn't been snapped, Snap first level to trunk
- When button is pressed for a third, fourth, fifth etc level of branches:
- Array of previous list of branches will be used to snap to
- Find closest previous branch from list
- Leaves
- Clean up scene
UI Mock-Up:
No comments:
Post a Comment