Day 3-4 ( the weekend)
Over the weekend i attempted to create an algorithm that would translate colours into movement.. the colours had no meanings at this stage because i had no idea what the movement would look like. we had planned to be able to use python to code the algorithm as you can easily get a free plug-in that allow the NXT to use python. The hard part of the algorithm was starting. I didn't care at that stage what the colours meant we could tweak that once we could see it running. What was hard was trying to decide what meant what. Was i to use the sequence of colours, or the position, or the ratios of different colours.. eventually i wrapped my mind around how it would work. I decided to have a six position input with 5 different colours:
- the first position would directly effect the vertical movementthe second position would modify the vertical movementthe third position would directly effect the horizontal movement / spinthe fourth position would modify the horizontal movement / spinthe fifth position would directly effect the tilt movementthe sixth position would modify the tilt movement
there is a full map of my algorithm in my journal.
No comments:
Post a Comment