Skip to content

Commit fdae92a

Browse files
committed
Convert CT-STEM to new sizes
1 parent e49eff0 commit fdae92a

10 files changed

Lines changed: 195 additions & 195 deletions

Curricular Models/CT-STEM/1D Motion Maps.nlogox

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -240,29 +240,29 @@ end
240240
; Copyright 2020 Uri Wilensky.
241241
; See Info tab for full copyright and license.]]></code>
242242
<widgets>
243-
<view x="229" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-50" height="206" showTickCounter="true" patchSize="2.0" fontSize="10" wrappingAllowedY="true" width="806" tickCounterLabel="ticks" maxPycor="50" updateMode="1" maxPxcor="200" minPxcor="-200"></view>
244-
<button x="10" y="180" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="85" sizeVersion="0">setup</button>
245-
<button x="99" y="180" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="85" sizeVersion="0">go</button>
246-
<slider x="10" step="1" y="35" max="20" display="initial-velocity" height="33" min="-20" direction="Horizontal" default="20.0" variable="initial-velocity" width="170" sizeVersion="0"></slider>
247-
<note x="12" y="13" height="26" backgroundDark="0" fontSize="11" width="220" markdown="false" textColorLight="-16777216" backgroundLight="0">Set the initial velocity for the car.</note>
248-
<slider x="10" step="0.5" y="80" max="8" display="acceleration" height="33" min="-8" direction="Horizontal" default="0.0" variable="acceleration" width="170" sizeVersion="0"></slider>
249-
<note x="575" y="225" height="19" backgroundDark="0" fontSize="15" width="180" markdown="false" textColorLight="-955883" backgroundLight="0">Orange = Acceleration</note>
250-
<note x="430" y="225" height="19" backgroundDark="0" fontSize="15" width="150" markdown="false" textColorLight="-13403783" backgroundLight="0">Cyan = Velocity</note>
251-
<note x="276" y="225" height="19" textColorLight="-2674135" fontSize="15" width="150" markdown="false">Red = Position</note>
252-
<slider x="10" step="1" y="125" max="50" display="draw-interval" height="33" min="1" direction="Horizontal" default="15.0" variable="draw-interval" width="172" sizeVersion="0"></slider>
253-
<note x="185" y="40" height="18" backgroundDark="0" fontSize="14" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0">vcarx</note>
254-
<note x="185" y="90" height="18" backgroundDark="0" fontSize="14" width="150" markdown="false" textColorLight="-16777216" backgroundLight="0">acarx</note>
255-
<plot x="10" autoPlotX="true" yMax="10.0" autoPlotY="true" y="250" xMin="0.0" height="150" legend="false" xMax="10.0" yMin="0.0" display="Position vs. Time" width="335" sizeVersion="0">
243+
<view x="237" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-50" height="206" showTickCounter="true" patchSize="2.0" fontSize="10" wrappingAllowedY="true" width="806" tickCounterLabel="ticks" maxPycor="50" updateMode="1" maxPxcor="200" minPxcor="-200"></view>
244+
<button x="10" y="240" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="85">setup</button>
245+
<button x="99" y="240" height="40" disableUntilTicks="true" forever="true" kind="Observer" width="85">go</button>
246+
<slider x="10" step="1" y="44" max="20" width="170" display="initial-velocity" height="50" min="-20" direction="Horizontal" default="20.0" variable="initial-velocity"></slider>
247+
<note x="12" y="13" backgroundDark="0" fontSize="11" width="220" markdown="false" height="26" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Set the initial velocity for the car.</note>
248+
<slider x="10" step="0.5" y="106" max="8" width="170" display="acceleration" height="50" min="-8" direction="Horizontal" default="0.0" variable="acceleration"></slider>
249+
<slider x="10" step="1" y="168" max="50" width="172" display="draw-interval" height="50" min="1" direction="Horizontal" default="15.0" variable="draw-interval"></slider>
250+
<note x="185" y="40" backgroundDark="0" fontSize="14" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">vcarx</note>
251+
<note x="185" y="100" backgroundDark="0" fontSize="14" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">acarx</note>
252+
<plot x="705" autoPlotX="true" yMax="10.0" autoPlotY="true" y="295" xMin="0.0" height="175" legend="false" xMax="10.0" yMin="0.0" width="330" display="Acceleration vs. Time">
256253
<setup></setup>
257254
<update></update>
258255
<pen interval="1.0" mode="0" display="default" color="-16777216" legend="true">
259256
<setup></setup>
260257
<update>if ticks mod draw-interval = 0 [
261-
plotxy ticks [my-x] of one-of cars
258+
plotxy ticks acceleration
262259
]</update>
263260
</pen>
264261
</plot>
265-
<plot x="350" autoPlotX="true" yMax="10.0" autoPlotY="true" y="250" xMin="0.0" height="150" legend="false" xMax="10.0" yMin="0.0" display="Velocity vs. Time" width="355" sizeVersion="0">
262+
<note x="430" y="270" backgroundDark="0" fontSize="15" width="150" markdown="false" height="19" textColorDark="-1" textColorLight="-13403783" backgroundLight="0">Cyan = Velocity</note>
263+
<note x="275" y="270" backgroundDark="0" fontSize="15" width="150" markdown="false" height="19" textColorDark="-1" textColorLight="-2674135" backgroundLight="0">Red = Position</note>
264+
<note x="585" y="270" backgroundDark="0" fontSize="15" width="180" markdown="false" height="19" textColorDark="-1" textColorLight="-955883" backgroundLight="0">Orange = Acceleration</note>
265+
<plot x="345" autoPlotX="true" yMax="10.0" autoPlotY="true" y="295" xMin="0.0" height="175" legend="false" xMax="10.0" yMin="0.0" width="355" display="Velocity vs. Time">
266266
<setup></setup>
267267
<update></update>
268268
<pen interval="1.0" mode="0" display="default" color="-16777216" legend="true">
@@ -272,13 +272,13 @@ plotxy ticks [velocity] of one-of cars
272272
]</update>
273273
</pen>
274274
</plot>
275-
<plot x="710" autoPlotX="true" yMax="10.0" autoPlotY="true" y="250" xMin="0.0" height="150" legend="false" xMax="10.0" yMin="0.0" display="Acceleration vs. Time" width="330" sizeVersion="0">
275+
<plot x="5" autoPlotX="true" yMax="10.0" autoPlotY="true" y="295" xMin="0.0" height="175" legend="false" xMax="10.0" yMin="0.0" width="335" display="Position vs. Time">
276276
<setup></setup>
277277
<update></update>
278278
<pen interval="1.0" mode="0" display="default" color="-16777216" legend="true">
279279
<setup></setup>
280280
<update>if ticks mod draw-interval = 0 [
281-
plotxy ticks acceleration
281+
plotxy ticks [my-x] of one-of cars
282282
]</update>
283283
</pen>
284284
</plot>

Curricular Models/CT-STEM/Calorimetry.nlogox

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,23 +1080,22 @@ end
10801080
; Copyright 2021 Uri Wilensky.
10811081
; See Info tab for full copyright and license.]]></code>
10821082
<widgets>
1083-
<view x="250" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-30" height="431" showTickCounter="true" patchSize="7.0" fontSize="10" wrappingAllowedY="false" width="431" tickCounterLabel="ticks" maxPycor="30" updateMode="1" maxPxcor="30" minPxcor="-30"></view>
1084-
<button x="6" y="143" height="50" disableUntilTicks="false" forever="false" kind="Observer" width="93" sizeVersion="0">setup</button>
1085-
<button x="112" y="143" height="50" disableUntilTicks="true" forever="true" kind="Observer" display="run/pause" width="123" sizeVersion="0">go</button>
1086-
<slider x="5" step="1" y="103" max="100" display="number-of-water-molecules" height="33" min="0" direction="Horizontal" default="40.0" variable="number-of-water-molecules" width="230" sizeVersion="0"></slider>
1087-
<button x="141" y="228" height="35" disableUntilTicks="true" forever="false" kind="Observer" display="Add KI &gt;&gt;" width="95" sizeVersion="0">add-KI</button>
1088-
<slider x="6" step="1" y="228" max="20" display="KI-to-add" height="33" min="0" direction="Horizontal" default="10.0" variable="KI-to-add" width="129" sizeVersion="0"></slider>
1089-
<chooser x="5" y="10" height="45" variable="container-material" current="0" display="container-material" width="230" sizeVersion="0">
1083+
<view x="271" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-30" height="431" showTickCounter="true" patchSize="7.0" fontSize="10" wrappingAllowedY="false" width="431" tickCounterLabel="ticks" maxPycor="30" updateMode="1" maxPxcor="30" minPxcor="-30"></view>
1084+
<button x="6" y="192" height="50" disableUntilTicks="false" forever="false" kind="Observer" width="93">setup</button>
1085+
<button x="112" y="192" height="50" disableUntilTicks="true" forever="true" kind="Observer" width="123" display="run/pause">go</button>
1086+
<slider x="5" step="1" y="135" max="100" width="230" display="number-of-water-molecules" height="50" min="0" direction="Horizontal" default="40.0" variable="number-of-water-molecules"></slider>
1087+
<slider x="6" step="1" y="277" max="20" width="150" display="KI-to-add" height="50" min="0" direction="Horizontal" default="10.0" variable="KI-to-add"></slider>
1088+
<chooser x="5" y="10" height="60" variable="container-material" current="0" width="230" display="container-material">
10901089
<choice type="string" value="styrofoam"></choice>
10911090
<choice type="string" value="glass"></choice>
10921091
<choice type="string" value="steel"></choice>
10931092
<choice type="string" value="iron"></choice>
10941093
<choice type="string" value="aluminum"></choice>
10951094
<choice type="string" value="diamond"></choice>
10961095
</chooser>
1097-
<button x="5" y="385" height="50" disableUntilTicks="true" forever="true" kind="Observer" display="Place sensor &gt;&gt;" width="230" sizeVersion="0">place-sensor true</button>
1098-
<slider x="5" step="1" y="343" max="50" display="sensor-radius" height="33" min="2" direction="Horizontal" default="20.0" variable="sensor-radius" width="230" sizeVersion="0"></slider>
1099-
<plot x="695" autoPlotX="true" yMax="2.0" autoPlotY="true" yAxis="temperature (C)" y="10" xMin="0.0" height="285" legend="false" xMax="10.0" yMin="0.0" xAxis="ticks" display="Sensor readings over time" width="425" sizeVersion="0">
1096+
<button x="5" y="485" height="50" disableUntilTicks="true" forever="true" kind="Observer" width="230" display="Place sensor &gt;&gt;">place-sensor true</button>
1097+
<slider x="5" step="1" y="426" max="50" width="230" display="sensor-radius" height="50" min="2" direction="Horizontal" default="20.0" variable="sensor-radius"></slider>
1098+
<plot x="716" autoPlotX="true" yMax="2.0" autoPlotY="true" yAxis="temperature (C)" y="10" xMin="0.0" height="285" legend="false" xMax="10.0" yMin="0.0" width="425" xAxis="ticks" display="Sensor readings over time">
11001099
<setup></setup>
11011100
<update></update>
11021101
<pen interval="1.0" mode="0" display="s1" color="-13345367" legend="true">
@@ -1112,21 +1111,22 @@ end
11121111
<update>plot sensor-3-val</update>
11131112
</pen>
11141113
</plot>
1115-
<monitor x="695" precision="1" y="325" height="45" fontSize="11" display="sensor-1" width="135" sizeVersion="0">sensor-1-val</monitor>
1116-
<monitor x="840" precision="1" y="325" height="45" fontSize="11" display="sensor-2" width="135" sizeVersion="0">sensor-2-val</monitor>
1117-
<monitor x="985" precision="1" y="325" height="45" fontSize="11" display="sensor-3" width="135" sizeVersion="0">sensor-3-val</monitor>
1118-
<button x="840" y="380" height="35" disableUntilTicks="true" forever="false" kind="Observer" display="Remove Sensor 2" width="135" sizeVersion="0">remove-sensor 2</button>
1119-
<button x="695" y="380" height="35" disableUntilTicks="true" forever="false" kind="Observer" display="Remove Sensor 1" width="135" sizeVersion="0">remove-sensor 1</button>
1120-
<button x="985" y="380" height="35" disableUntilTicks="true" forever="false" kind="Observer" display="Remove Sensor 3" width="135" sizeVersion="0">remove-sensor 3</button>
1121-
<button x="990" y="460" height="45" disableUntilTicks="true" forever="false" kind="Observer" display="Save Experiment" width="132" sizeVersion="0">export-world (word (user-input "Enter the name of your project") ".model")</button>
1122-
<button x="990" y="510" height="40" disableUntilTicks="true" forever="false" kind="Observer" display="Load Experiment" width="132" sizeVersion="0">fetch:user-file-async import-a:world</button>
1123-
<button x="141" y="270" height="35" disableUntilTicks="true" forever="false" kind="Observer" display="Add Ca &gt;&gt;" width="95" sizeVersion="0">add-CA</button>
1124-
<slider x="6" step="1" y="270" max="20" display="Ca-to-add" height="33" min="0" direction="Horizontal" default="11.0" variable="Ca-to-add" width="130" sizeVersion="0"></slider>
1125-
<output x="5" y="460" height="115" fontSize="13" width="970"></output>
1126-
<slider x="5" step="1" y="63" max="35" display="outside-temperature" height="33" min="0" direction="Horizontal" default="23.0" variable="outside-temperature" units="C" width="230" sizeVersion="0"></slider>
1127-
<note x="809" y="326" backgroundDark="0" fontSize="36" width="28" markdown="false" height="18" textColorDark="-1" textColorLight="-13345367" backgroundLight="0">•</note>
1128-
<note x="955" y="325" backgroundDark="0" fontSize="36" width="23" markdown="false" height="18" textColorDark="-1" textColorLight="-10899396" backgroundLight="0">•</note>
1129-
<note x="1098" y="324" backgroundDark="0" fontSize="36" width="22" markdown="false" height="18" textColorDark="-1" textColorLight="-955883" backgroundLight="0">•</note>
1114+
<monitor x="716" precision="1" y="325" height="60" fontSize="11" width="135" display="sensor-1">sensor-1-val</monitor>
1115+
<monitor x="861" precision="1" y="325" height="60" fontSize="11" width="135" display="sensor-2">sensor-2-val</monitor>
1116+
<monitor x="1006" precision="1" y="325" height="60" fontSize="11" width="135" display="sensor-3">sensor-3-val</monitor>
1117+
<button x="861" y="395" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="135" display="Remove Sensor 2">remove-sensor 2</button>
1118+
<button x="716" y="395" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="135" display="Remove Sensor 1">remove-sensor 1</button>
1119+
<button x="1006" y="395" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="135" display="Remove Sensor 3">remove-sensor 3</button>
1120+
<slider x="6" step="1" y="335" max="20" width="150" display="Ca-to-add" height="50" min="0" direction="Horizontal" default="11.0" variable="Ca-to-add"></slider>
1121+
<slider x="5" step="1" y="78" max="35" width="230" display="outside-temperature" height="50" min="0" direction="Horizontal" default="23.0" variable="outside-temperature" units="C"></slider>
1122+
<note x="830" y="326" backgroundDark="0" fontSize="36" width="28" markdown="false" height="18" textColorDark="-1" textColorLight="-13345367" backgroundLight="0">•</note>
1123+
<note x="976" y="325" backgroundDark="0" fontSize="36" width="23" markdown="false" height="18" textColorDark="-1" textColorLight="-10899396" backgroundLight="0">•</note>
1124+
<note x="1119" y="324" backgroundDark="0" fontSize="36" width="22" markdown="false" height="18" textColorDark="-1" textColorLight="-955883" backgroundLight="0">•</note>
1125+
<button x="162" y="340" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="95" display="Add Ca &gt;&gt;">add-CA</button>
1126+
<button x="162" y="282" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="95" display="Add KI &gt;&gt;">add-KI</button>
1127+
<output x="5" y="544" height="115" fontSize="13" width="970"></output>
1128+
<button x="990" y="595" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="132" display="Load Experiment">fetch:user-file-async import-a:world</button>
1129+
<button x="990" y="545" height="45" disableUntilTicks="true" forever="false" kind="Observer" width="132" display="Save Experiment">export-world (word (user-input "Enter the name of your project") ".model")</button>
11301130
</widgets>
11311131
<info><![CDATA[## WHAT IS IT?
11321132

0 commit comments

Comments
 (0)