juliankrispel / Pollock

A canvas-based application which paints by itself.
2 stars 1 forks source link

Dynamic Binding #24

Closed ulikk closed 10 years ago

ulikk commented 10 years ago

We've agreed that a JSON declaration for the UI could quickly turn into something like QML because it's hard to put limits on once we've gone down that route. It seems like every option that we look at has it's problems so let's start from the beginning and look at the problems that we're trying to solve with dynamic binding and how we could solve them.

Problem Context:

The Brush class carries size and coordinates of a brush on canvas. We have multiple instances of the Brush class. Each Brush has an instance of a Movement class, which in turn is responsible for updating the coordinates of Brush. There are multiple subclasses of the Movement class. Each subclass defines a type of movement (i.e. 'SpiralMovement', 'JerkyMovement', 'SmoothMovement').

Now the specific problems are:

  1. Through the GUI the user should be able to change the type of Movement.
  2. dwq
  3. dwqdwq
ulikk commented 10 years ago

closed as being already implemented an in use