comparison org/movement.org @ 273:c39b8b29a79e

fixed ambigous in-text function references
author Robert McIntyre <rlm@mit.edu>
date Wed, 15 Feb 2012 06:56:47 -0700
parents d487348c461c
children bded932ef696
comparison
equal deleted inserted replaced
271:5833b4ce877a 273:c39b8b29a79e
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