10 rotations per minute
PartsBinBrowser
X

Menu
12
1
2
3
4
5
6
7
8
9
10
11
ObjectEditor -- <lively.morphic.Path#51EFF...>>>-- ALL --
X

Menu
// changed at Thu Jul 30 2015 19:47:33 GMT-0700 (PDT) by rick
this.addScript(function setHand(aHandaValueunitsPerCycle) {
    // do the modulus for hour before calling
    // this just puts the hand in the right spot
    // unitsPerCycle == 60 for minutes or seconds, 12 for hour
    var radians = (aValue/unitsPerCycle) * Math.PI * 2
    aHand.setRotation(radians)
    
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<lively.morphic.Morph#65AC4... - Clock>
Tag:
run
save
Tests

-- ALL --
angleForHour
getHaloClasses
getHandValue
getHourValue
getMinuteValue
getSecondValue
makeNewFace
onrestore
reset
setHand
setHands
Scripts
-
+
-
Connections
+
-- ALL --
all
ObjectEditor -- Clock>>setHand
X

Menu
ObjectEditor -- Knob>>onDragStart
X

Menu
ObjectEditor -- InfiniteSlider>>updateValueAndUnits
X

Menu
ObjectEditor -- InfiniteSlider>>-- ALL --
X

Menu