Mercurial > cortex
diff org/proprioception.org @ 430:5205535237fb
fix skew in self-organizing-touch, work on thesis.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 22 Mar 2014 16:10:34 -0400 |
parents | 4f5a5d5f1613 |
children |
line wrap: on
line diff
1.1 --- a/org/proprioception.org Fri Mar 21 20:56:56 2014 -0400 1.2 +++ b/org/proprioception.org Sat Mar 22 16:10:34 2014 -0400 1.3 @@ -52,7 +52,7 @@ 1.4 system. The three vectors do not have to be normalized or 1.5 orthogonal." 1.6 [vec1 vec2 vec3] 1.7 - (< 0 (.dot (.cross vec1 vec2) vec3))) 1.8 + (pos? (.dot (.cross vec1 vec2) vec3))) 1.9 1.10 (defn absolute-angle 1.11 "The angle between 'vec1 and 'vec2 around 'axis. In the range 1.12 @@ -328,7 +328,7 @@ 1.13 proprioception (pics "proprio/0") 1.14 targets (map 1.15 #(File. (str base "out/" (format "%07d.png" %))) 1.16 - (range 0 (count main-view)))] 1.17 + (range (count main-view)))] 1.18 (dorun 1.19 (pmap 1.20 (comp 1.21 @@ -385,7 +385,7 @@ 1.22 1.23 * Next 1.24 1.25 -Next time, I'll give the Worm the power to [[./movement.org][move on it's own]]. 1.26 +Next time, I'll give the Worm the power to [[./movement.org][move on its own]]. 1.27 1.28 1.29 * COMMENT generate source