comparison org/movement.org @ 276:54ec231dec4c

I changed Capture Video, then merged with Robert.
author Dylan Holmes <ocsenave@gmail.com>
date Wed, 15 Feb 2012 01:16:54 -0600
parents c39b8b29a79e
children bded932ef696
comparison
equal deleted inserted replaced
275:da4de661c5d9 276:54ec231dec4c
93 (bit-and 93 (bit-and
94 0x0000FF 94 0x0000FF
95 (.getRGB profile x 0)))))))) 95 (.getRGB profile x 0))))))))
96 #+end_src 96 #+end_src
97 97
98 Of note here is =(motor-pool)= which interprets the muscle-profile 98 Of note here is =motor-pool= which interprets the muscle-profile
99 image in a way that allows me to use gradients between white and red, 99 image in a way that allows me to use gradients between white and red,
100 instead of shades of gray as I've been using for all the other 100 instead of shades of gray as I've been using for all the other
101 senses. This is purely an aesthetic touch. 101 senses. This is purely an aesthetic touch.
102 102
103 * Creating Muscles 103 * Creating Muscles
135 [#^Node creature] 135 [#^Node creature]
136 (for [muscle (muscles creature)] 136 (for [muscle (muscles creature)]
137 (movement-kernel creature muscle))) 137 (movement-kernel creature muscle)))
138 #+end_src 138 #+end_src
139 139
140 =(movement-kernel)= creates a function that will move the nearest 140 =movement-kernel= creates a function that will move the nearest
141 physical object to the muscle node. The muscle exerts a rotational 141 physical object to the muscle node. The muscle exerts a rotational
142 force dependant on it's orientation to the object in the blender 142 force dependant on it's orientation to the object in the blender
143 file. The function returned by =(movement-kernel)= is also a sense 143 file. The function returned by =movement-kernel= is also a sense
144 function: it returns the percent of the total muscle strength that is 144 function: it returns the percent of the total muscle strength that is
145 currently being employed. This is analogous to muscle tension in 145 currently being employed. This is analogous to muscle tension in
146 humans and completes the sense of proprioception begun in the last 146 humans and completes the sense of proprioception begun in the last
147 post. 147 post.
148 148