|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<model version="NetLogo 7.0.0-beta0" snapToGrid="false"> |
| 2 | +<model version="NetLogo 7.0.0-beta2" snapToGrid="false"> |
3 | 3 | <code><![CDATA[extensions [sound] |
4 | 4 |
|
5 | 5 | globals [ |
@@ -220,51 +220,51 @@ end |
220 | 220 | ; See Info tab for full copyright and license.]]></code> |
221 | 221 | <widgets> |
222 | 222 | <view x="265" wrappingAllowedX="false" y="10" frameRate="60.0" minPycor="-12" height="404" showTickCounter="true" patchSize="16.0" fontSize="11" wrappingAllowedY="false" width="404" tickCounterLabel="ticks" maxPycor="12" updateMode="1" maxPxcor="12" minPxcor="-12"></view> |
223 | | - <button x="11" y="66" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="101" sizeVersion="0">setup-dangle</button> |
224 | | - <slider x="696" step="1.0E-4" y="50" max="0.9999" display="f" height="33" min="0.9" direction="Horizontal" default="0.98" variable="f" width="172" sizeVersion="0"></slider> |
225 | | - <button x="20" y="173" height="56" disableUntilTicks="true" forever="true" kind="Observer" width="158" sizeVersion="0">go</button> |
226 | | - <slider x="11" step="1.0" y="29" max="100.0" display="num-levers" height="33" min="4.0" direction="Horizontal" default="12.0" variable="num-levers" width="215" sizeVersion="0"></slider> |
227 | | - <slider x="696" step="0.1" y="118" max="12.0" display="scale" height="33" min="0.1" direction="Horizontal" default="1.7" variable="scale" width="172" sizeVersion="0"></slider> |
228 | | - <slider x="696" step="1.0E-4" y="84" max="0.18" display="g" height="33" min="0.0" direction="Horizontal" default="0.03" variable="g" width="172" sizeVersion="0"></slider> |
229 | | - <button x="11" y="282" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="fix/free" width="62" sizeVersion="0">ask selected [ set fixed? not fixed? ]</button> |
230 | | - <button x="74" y="265" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="arm +++" width="62" sizeVersion="0">ask selected |
| 223 | + <button x="11" y="83" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="101">setup-dangle</button> |
| 224 | + <slider x="696" step="1.0E-4" y="50" max="0.9999" width="172" display="f" height="50" min="0.9" direction="Horizontal" default="0.98" variable="f"></slider> |
| 225 | + <button x="20" y="194" height="56" disableUntilTicks="true" forever="true" kind="Observer" width="158">go</button> |
| 226 | + <slider x="11" step="1.0" y="29" max="100.0" width="215" display="num-levers" height="50" min="4.0" direction="Horizontal" default="12.0" variable="num-levers"></slider> |
| 227 | + <slider x="696" step="0.1" y="152" max="12.0" width="172" display="scale" height="50" min="0.1" direction="Horizontal" default="1.7" variable="scale"></slider> |
| 228 | + <slider x="696" step="1.0E-4" y="101" max="0.18" width="172" display="g" height="50" min="0.0" direction="Horizontal" default="0.03" variable="g"></slider> |
| 229 | + <button x="11" y="303" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="62" display="fix/free">ask selected [ set fixed? not fixed? ]</button> |
| 230 | + <button x="74" y="286" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="62" display="arm +++">ask selected |
231 | 231 | [ set len precision (len + 0.1) 1 ]</button> |
232 | | - <button x="74" y="299" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="arm ---" width="62" sizeVersion="0"><![CDATA[ask selected |
| 232 | + <button x="74" y="322" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="62" display="arm ---"><![CDATA[ask selected |
233 | 233 | [ if len > 0.1 |
234 | 234 | [ set len precision (len - 0.1) 1 ] ]]]></button> |
235 | | - <button x="205" y="265" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="next" width="55" sizeVersion="0">select-lever 1</button> |
236 | | - <slider x="20" step="0.01" y="363" max="25.0" display="spin-speed" height="33" min="-25.0" direction="Horizontal" default="0.0" variable="spin-speed" width="223" sizeVersion="0"></slider> |
237 | | - <button x="137" y="265" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="spin +1?" width="60" sizeVersion="0">ask selected |
| 235 | + <button x="205" y="286" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="55" display="next">select-lever 1</button> |
| 236 | + <slider x="20" step="0.01" y="388" max="25.0" width="223" display="spin-speed" height="50" min="-25.0" direction="Horizontal" default="0.0" variable="spin-speed"></slider> |
| 237 | + <button x="137" y="286" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="60" display="spin +1?">ask selected |
238 | 238 | [ ifelse spin != 1 |
239 | 239 | [ set spin 1 ] |
240 | 240 | [ set spin 0 ] ]</button> |
241 | | - <button x="113" y="66" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="142" sizeVersion="0">setup-crazy-machine</button> |
242 | | - <button x="96" y="397" height="33" disableUntilTicks="false" forever="false" kind="Observer" display="0" width="71" sizeVersion="0">set spin-speed 0</button> |
243 | | - <note x="11" y="249" height="18" backgroundDark="0" fontSize="11" width="136" markdown="false" textColorLight="-16777216" backgroundLight="0">modify selected lever:</note> |
244 | | - <button x="169" y="397" height="33" disableUntilTicks="false" forever="false" kind="Observer" display="-->" width="63" sizeVersion="0">set spin-speed |
| 241 | + <button x="113" y="83" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="142">setup-crazy-machine</button> |
| 242 | + <button x="96" y="439" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="71" display="0">set spin-speed 0</button> |
| 243 | + <note x="11" y="270" backgroundDark="0" fontSize="11" width="136" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">modify selected lever:</note> |
| 244 | + <button x="169" y="439" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="63" display="-->">set spin-speed |
245 | 245 | precision ((round (spin-speed * 2)) / 2.0 + 0.5) |
246 | 246 | 1</button> |
247 | | - <button x="39" y="397" height="33" disableUntilTicks="false" forever="false" kind="Observer" display="<--" width="63" sizeVersion="0">set spin-speed |
| 247 | + <button x="39" y="439" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="63" display="<--">set spin-speed |
248 | 248 | precision ((round (spin-speed * 2)) / 2.0 - 0.5) |
249 | 249 | 1</button> |
250 | | - <button x="137" y="299" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="spin -1?" width="60" sizeVersion="0">ask selected |
| 250 | + <button x="137" y="322" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="60" display="spin -1?">ask selected |
251 | 251 | [ ifelse spin != -1 |
252 | 252 | [ set spin -1 ] |
253 | 253 | [ set spin 0 ] ]</button> |
254 | | - <button x="205" y="299" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="prev" width="55" sizeVersion="0">select-lever -1</button> |
255 | | - <button x="56" y="100" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="153" sizeVersion="0">setup-chaos-tentacle</button> |
256 | | - <slider x="691" step="1.0" y="314" max="127.0" display="instrument" height="33" min="0.0" direction="Horizontal" default="32.0" variable="instrument" width="172" sizeVersion="0"></slider> |
257 | | - <monitor x="691" precision="0" y="347" height="45" fontSize="11" display="First Instrument" width="172" sizeVersion="0">item instrument sound:instruments</monitor> |
258 | | - <monitor x="691" precision="3" y="395" height="45" fontSize="11" display="Last Instrument" width="172" sizeVersion="0">item |
| 254 | + <button x="205" y="322" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="55" display="prev">select-lever -1</button> |
| 255 | + <button x="56" y="119" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="153">setup-chaos-tentacle</button> |
| 256 | + <slider x="691" step="1.0" y="365" max="127.0" width="172" display="instrument" height="50" min="0.0" direction="Horizontal" default="32.0" variable="instrument"></slider> |
| 257 | + <monitor x="691" precision="0" y="415" height="60" fontSize="11" width="172" display="First Instrument">item instrument sound:instruments</monitor> |
| 258 | + <monitor x="691" precision="3" y="478" height="60" fontSize="11" width="172" display="Last Instrument">item |
259 | 259 | ((instrument + num-levers) mod length sound:instruments) |
260 | 260 | sound:instruments</monitor> |
261 | | - <note x="4" y="11" height="18" textColorLight="-16777216" fontSize="11" width="150" markdown="false">setup:</note> |
262 | | - <note x="12" y="152" height="18" textColorLight="-16777216" fontSize="11" width="150" markdown="false">go:</note> |
263 | | - <note x="694" y="32" height="18" textColorLight="-16777216" fontSize="11" width="150" markdown="false">behavior parameters:</note> |
264 | | - <note x="688" y="295" height="18" textColorLight="-16777216" fontSize="11" width="150" markdown="false">sound parameters:</note> |
265 | | - <note x="277" y="445" height="18" textColorLight="-16777216" fontSize="11" width="397" markdown="false">You may use the mouse to select levers and move them.</note> |
266 | | - <note x="14" y="347" height="18" backgroundDark="0" fontSize="11" width="98" markdown="false" textColorLight="-16777216" backgroundLight="0">spin controls:</note> |
267 | | - <note x="205" y="251" height="18" backgroundDark="0" fontSize="11" width="43" markdown="false" textColorLight="-16777216" backgroundLight="0">select:</note> |
| 261 | + <note x="4" y="11" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">setup:</note> |
| 262 | + <note x="12" y="173" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">go:</note> |
| 263 | + <note x="694" y="32" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">behavior parameters:</note> |
| 264 | + <note x="688" y="346" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">sound parameters:</note> |
| 265 | + <note x="277" y="445" backgroundDark="0" fontSize="11" width="397" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">You may use the mouse to select levers and move them.</note> |
| 266 | + <note x="14" y="372" backgroundDark="0" fontSize="11" width="98" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">spin controls:</note> |
| 267 | + <note x="205" y="272" backgroundDark="0" fontSize="11" width="43" markdown="false" height="18" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">select:</note> |
268 | 268 | </widgets> |
269 | 269 | <info><![CDATA[## WHAT IS IT? |
270 | 270 |
|
|
0 commit comments