Skip to content

Commit e49eff0

Browse files
committed
Convert BEAGLE Evolution to new sizes
1 parent ec683fd commit e49eff0

21 files changed

Lines changed: 522 additions & 522 deletions

Curricular Models/BEAGLE Evolution/Bird Breeder.nlogox

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -755,30 +755,30 @@ end
755755
; Copyright 2007 Uri Wilensky.
756756
; See Info tab for full copyright and license.]]></code>
757757
<widgets>
758-
<view x="320" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-4" height="504" showTickCounter="true" patchSize="50.0" fontSize="10" wrappingAllowedY="true" width="504" tickCounterLabel="ticks" maxPycor="5" updateMode="0" maxPxcor="5" minPxcor="-4"></view>
759-
<button x="8" y="10" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="71" sizeVersion="0">setup</button>
760-
<button x="81" y="10" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="72" sizeVersion="0">go</button>
761-
<button x="5" y="311" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="breed current birds at breeding sites" width="245" sizeVersion="0">breed-birds</button>
762-
<switch x="6" y="203" height="33" on="false" variable="show-genetics?" display="show-genetics?" width="144" sizeVersion="0"></switch>
763-
<button x="6" y="383" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="remove all eggs from breeding sites" width="244" sizeVersion="0">ask birds with [shape = "egg"] [die]</button>
764-
<slider x="153" step="5" y="203" max="20" display="cost-for-breeding" height="33" min="0" direction="Horizontal" default="10.0" variable="cost-for-breeding" width="135" sizeVersion="0"></slider>
765-
<slider x="4" step="100" y="274" max="1000" display="reward-for-goal-bird" height="33" min="200" direction="Horizontal" default="1000.0" variable="reward-for-goal-bird" width="185" sizeVersion="0"></slider>
766-
<button x="6" y="347" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="request contribution birds for breeding" width="244" sizeVersion="0">share-others-birds</button>
767-
<slider x="3" step="5" y="239" max="20" display="cost-contribution" height="33" min="0" direction="Horizontal" default="10.0" variable="cost-contribution" width="185" sizeVersion="0"></slider>
768-
<monitor x="195" precision="3" y="242" height="45" fontSize="11" display="your funds $" width="93" sizeVersion="0">current-funds</monitor>
769-
<output x="3" y="84" height="115" fontSize="12" width="290"></output>
770-
<note x="13" y="424" height="42" textColorLight="-16777216" fontSize="11" width="303" markdown="false">Bird Scenario Goal: breed 3 birds each with a blue
758+
<view x="335" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-4" height="504" showTickCounter="true" patchSize="50.0" fontSize="10" wrappingAllowedY="true" width="504" tickCounterLabel="ticks" maxPycor="5" updateMode="0" maxPxcor="5" minPxcor="-4"></view>
759+
<button x="8" y="10" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="71">setup</button>
760+
<button x="81" y="10" height="40" disableUntilTicks="true" forever="true" kind="Observer" width="72">go</button>
761+
<button x="5" y="383" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="245" display="breed current birds at breeding sites">breed-birds</button>
762+
<button x="6" y="473" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="244" display="remove all eggs from breeding sites">ask birds with [shape = "egg"] [die]</button>
763+
<slider x="4" step="100" y="328" max="1000" width="185" display="reward-for-goal-bird" height="50" min="200" direction="Horizontal" default="1000.0" variable="reward-for-goal-bird"></slider>
764+
<button x="6" y="428" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="244" display="request contribution birds for breeding">share-others-birds</button>
765+
<slider x="3" step="5" y="273" max="20" width="185" display="cost-contribution" height="50" min="0" direction="Horizontal" default="10.0" variable="cost-contribution"></slider>
766+
<monitor x="195" precision="3" y="274" height="60" fontSize="11" width="100" display="your funds $">current-funds</monitor>
767+
<output x="3" y="99" height="115" fontSize="12" width="290"></output>
768+
<note x="13" y="521" backgroundDark="0" fontSize="11" width="303" markdown="false" height="42" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Bird Scenario Goal: breed 3 birds each with a blue
771769
head cap, purple breast, red wing, and red tail</note>
772-
<button x="6" y="47" height="33" disableUntilTicks="false" forever="false" kind="Observer" display="next instruction" width="147" sizeVersion="0">give-instructions</button>
773-
<chooser x="166" y="10" height="45" variable="scenario" current="0" display="scenario" width="112" sizeVersion="0">
770+
<button x="6" y="55" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="147" display="next instruction">give-instructions</button>
771+
<chooser x="166" y="10" height="60" variable="scenario" current="0" width="112" display="scenario">
774772
<choice type="string" value="birds"></choice>
775773
<choice type="string" value="dragons"></choice>
776774
</chooser>
777-
<note x="13" y="460" height="56" textColorLight="-16777216" fontSize="11" width="293" markdown="false">Dragon Scenario Goal: breed 3 dragons each
775+
<note x="13" y="557" backgroundDark="0" fontSize="11" width="293" markdown="false" height="56" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Dragon Scenario Goal: breed 3 dragons each
778776
fire breathing, with a white breast, a red body,
779777
and a rope tail.</note>
780-
<button x="153" y="507" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="sell goal bird" width="111" sizeVersion="0">
778+
<button x="153" y="604" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="111" display="sell goal bird">
781779
check-for-goal</button>
780+
<switch x="6" y="218" height="50" on="false" variable="show-genetics?" width="144" display="show-genetics?"></switch>
781+
<slider x="153" step="5" y="218" max="20" width="150" display="cost-for-breeding" height="50" min="0" direction="Horizontal" default="10.0" variable="cost-for-breeding"></slider>
782782
</widgets>
783783
<info><![CDATA[## WHAT IS IT?
784784

Curricular Models/BEAGLE Evolution/Bug Hunt Coevolution.nlogox

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -513,11 +513,9 @@ end
513513
; Copyright 2007 Uri Wilensky.
514514
; See Info tab for full copyright and license.]]></code>
515515
<widgets>
516-
<view x="500" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-13" height="436" showTickCounter="true" patchSize="16.0" fontSize="10" wrappingAllowedY="true" width="436" tickCounterLabel="ticks" maxPycor="13" updateMode="1" maxPxcor="13" minPxcor="-13"></view>
517-
<monitor x="90" precision="0" y="52" height="45" fontSize="11" display="total caught" width="78" sizeVersion="0">total-caught</monitor>
518-
<button x="11" y="16" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="76" sizeVersion="0">setup</button>
519-
<button x="90" y="16" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="77" sizeVersion="0">go</button>
520-
<plot x="10" autoPlotX="true" yMax="10.0" autoPlotY="true" yAxis="vision" y="370" xMin="0.0" height="120" legend="false" xMax="1000.0" yMin="0.0" xAxis="time" display="Avg. Vision vs. Time" width="160" sizeVersion="0">
516+
<view x="720" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-13" height="436" showTickCounter="true" patchSize="16.0" fontSize="10" wrappingAllowedY="true" width="436" tickCounterLabel="ticks" maxPycor="13" updateMode="1" maxPxcor="13" minPxcor="-13"></view>
517+
<monitor x="116" precision="0" y="61" height="60" fontSize="11" width="100" display="total caught">total-caught</monitor>
518+
<plot x="10" autoPlotX="true" yMax="10.0" autoPlotY="true" yAxis="vision" y="529" xMin="0.0" height="175" legend="false" xMax="1000.0" yMin="0.0" width="230" xAxis="time" display="Avg. Vision vs. Time">
521519
<setup></setup>
522520
<update></update>
523521
<pen interval="1.0" mode="0" display="bugs" color="-16777216" legend="true">
@@ -529,7 +527,7 @@ end
529527
<update></update>
530528
</pen>
531529
</plot>
532-
<plot x="170" autoPlotX="true" yMax="50.0" autoPlotY="true" yAxis="frequency" y="250" xMin="0.0" height="120" legend="false" xMax="10.0" yMin="0.0" xAxis="speed" display="Speed of Bugs" width="160" sizeVersion="0">
530+
<plot x="245" autoPlotX="true" yMax="50.0" autoPlotY="true" yAxis="frequency" y="349" xMin="0.0" height="175" legend="false" xMax="10.0" yMin="0.0" width="230" xAxis="speed" display="Speed of Bugs">
533531
<setup></setup>
534532
<update></update>
535533
<pen interval="0.1" mode="1" display="#" color="-16777216" legend="true">
@@ -561,7 +559,7 @@ end
561559
<update></update>
562560
</pen>
563561
</plot>
564-
<plot x="10" autoPlotX="true" yMax="10.0" autoPlotY="true" yAxis="rate" y="250" xMin="0.0" height="120" legend="false" xMax="1000.0" yMin="0.0" xAxis="time" display="Avg. Speed vs. Time" width="160" sizeVersion="0">
562+
<plot x="10" autoPlotX="true" yMax="10.0" autoPlotY="true" yAxis="rate" y="349" xMin="0.0" height="175" legend="false" xMax="1000.0" yMin="0.0" width="230" xAxis="time" display="Avg. Speed vs. Time">
565563
<setup></setup>
566564
<update></update>
567565
<pen interval="1.0" mode="0" display="birds" color="-6459832" legend="true">
@@ -573,7 +571,7 @@ end
573571
<update></update>
574572
</pen>
575573
</plot>
576-
<plot x="330" autoPlotX="true" yMax="10.0" autoPlotY="true" yAxis="frequency" y="250" xMin="0.0" height="120" legend="false" xMax="10.0" yMin="0.0" xAxis="speed" display="Speed of Birds" width="160" sizeVersion="0">
574+
<plot x="480" autoPlotX="true" yMax="10.0" autoPlotY="true" yAxis="frequency" y="349" xMin="0.0" height="175" legend="false" xMax="10.0" yMin="0.0" width="230" xAxis="speed" display="Speed of Birds">
577575
<setup></setup>
578576
<update></update>
579577
<pen interval="1.0" mode="1" display="#" color="-6459832" legend="true">
@@ -605,45 +603,47 @@ end
605603
<update></update>
606604
</pen>
607605
</plot>
608-
<monitor x="11" precision="0" y="52" height="45" fontSize="11" display="alive bugs" width="76" sizeVersion="0">(count bugs)</monitor>
609-
<slider x="30" step="1" y="120" max="100" display="number-bugs" height="33" min="1" direction="Horizontal" default="30.0" variable="number-bugs" width="130" sizeVersion="0"></slider>
610-
<slider x="30" step="1" y="185" max="10" display="number-birds" height="33" min="0" direction="Horizontal" default="10.0" variable="number-birds" width="130" sizeVersion="0"></slider>
611-
<slider x="165" step="1" y="175" max="10" display="initial-bird-speed" height="33" min="0" direction="Horizontal" default="2.0" variable="initial-bird-speed" width="160" sizeVersion="0"></slider>
612-
<slider x="165" step=".5" y="210" max="5" display="initial-bird-vision" height="33" min="0" direction="Horizontal" default="0.0" variable="initial-bird-vision" width="160" sizeVersion="0"></slider>
613-
<slider x="165" step=".5" y="135" max="6" display="initial-bug-vision" height="33" min="0" direction="Horizontal" default="0.0" variable="initial-bug-vision" width="160" sizeVersion="0"></slider>
614-
<switch x="300" y="15" height="33" on="true" variable="show-vision-cone?" display="show-vision-cone?" width="170" sizeVersion="0"></switch>
615-
<switch x="184" y="15" height="33" on="true" variable="wiggle?" display="wiggle?" width="115" sizeVersion="0"></switch>
616-
<slider x="330" step=".1" y="210" max="1" display="bird-vision-mutation" height="33" min="0" direction="Horizontal" default="0.0" variable="bird-vision-mutation" width="155" sizeVersion="0"></slider>
617-
<slider x="330" step=".1" y="175" max="1" display="bird-speed-mutation" height="33" min="0" direction="Horizontal" default="1.0" variable="bird-speed-mutation" width="155" sizeVersion="0"></slider>
618-
<slider x="330" step=".5" y="135" max="1" display="bug-vision-mutation" height="33" min="0" direction="Horizontal" default="0.0" variable="bug-vision-mutation" width="156" sizeVersion="0"></slider>
619-
<plot x="170" autoPlotX="true" yMax="50.0" autoPlotY="true" yAxis="frequency" y="370" xMin="0.0" height="120" legend="false" xMax="10.0" yMin="0.0" xAxis="vision" display="Vision of Bugs" width="160" sizeVersion="0">
606+
<monitor x="11" precision="0" y="61" height="60" fontSize="11" width="100" display="alive bugs">(count bugs)</monitor>
607+
<slider x="30" step="1" y="144" max="100" width="150" display="number-bugs" height="50" min="1" direction="Horizontal" default="30.0" variable="number-bugs"></slider>
608+
<slider x="30" step="1" y="226" max="10" width="150" display="number-birds" height="50" min="0" direction="Horizontal" default="10.0" variable="number-birds"></slider>
609+
<plot x="245" autoPlotX="true" yMax="50.0" autoPlotY="true" yAxis="frequency" y="529" xMin="0.0" height="175" legend="false" xMax="10.0" yMin="0.0" width="230" xAxis="vision" display="Vision of Bugs">
620610
<setup></setup>
621611
<update></update>
622612
<pen interval="1.0" mode="1" display="#" color="-16777216" legend="true">
623613
<setup></setup>
624614
<update></update>
625615
</pen>
626616
</plot>
627-
<plot x="330" autoPlotX="true" yMax="10.0" autoPlotY="true" yAxis="birds" y="370" xMin="0.0" height="120" legend="false" xMax="10.0" yMin="0.0" xAxis="vision" display="Vision of Birds" width="160" sizeVersion="0">
617+
<plot x="480" autoPlotX="true" yMax="10.0" autoPlotY="true" yAxis="birds" y="529" xMin="0.0" height="175" legend="false" xMax="10.0" yMin="0.0" width="230" xAxis="vision" display="Vision of Birds">
628618
<setup></setup>
629619
<update></update>
630620
<pen interval="1.0" mode="1" display="#" color="-6459832" legend="true">
631621
<setup></setup>
632622
<update></update>
633623
</pen>
634624
</plot>
635-
<slider x="330" step=".1" y="100" max="1" display="bug-speed-mutation" height="33" min="0" direction="Horizontal" default="1.0" variable="bug-speed-mutation" width="156" sizeVersion="0"></slider>
636-
<chooser x="325" y="50" height="45" variable="bug-pursuit-strategy" current="1" display="bug-pursuit-strategy" width="145" sizeVersion="0">
625+
<slider x="230" step="1" y="125" max="10" width="160" display="initial-bug-speed" height="50" min="0" direction="Horizontal" default="2.0" variable="initial-bug-speed"></slider>
626+
<slider x="395" step=".5" y="180" max="1" width="156" display="bug-vision-mutation" height="50" min="0" direction="Horizontal" default="0.0" variable="bug-vision-mutation"></slider>
627+
<slider x="230" step=".5" y="180" max="6" width="160" display="initial-bug-vision" height="50" min="0" direction="Horizontal" default="0.0" variable="initial-bug-vision"></slider>
628+
<slider x="230" step="1" y="235" max="10" width="160" display="initial-bird-speed" height="50" min="0" direction="Horizontal" default="2.0" variable="initial-bird-speed"></slider>
629+
<slider x="230" step=".5" y="290" max="5" width="160" display="initial-bird-vision" height="50" min="0" direction="Horizontal" default="0.0" variable="initial-bird-vision"></slider>
630+
<slider x="395" step=".1" y="125" max="1" width="156" display="bug-speed-mutation" height="50" min="0" direction="Horizontal" default="1.0" variable="bug-speed-mutation"></slider>
631+
<slider x="395" step=".1" y="235" max="1" width="155" display="bird-speed-mutation" height="50" min="0" direction="Horizontal" default="1.0" variable="bird-speed-mutation"></slider>
632+
<slider x="395" step=".1" y="290" max="1" width="155" display="bird-vision-mutation" height="50" min="0" direction="Horizontal" default="0.0" variable="bird-vision-mutation"></slider>
633+
<chooser x="395" y="60" height="60" variable="bug-pursuit-strategy" current="1" width="155" display="bug-pursuit-strategy">
637634
<choice type="string" value="lock on one"></choice>
638635
<choice type="string" value="nearest"></choice>
639636
<choice type="string" value="none"></choice>
640637
</chooser>
641-
<chooser x="181" y="50" height="45" variable="bug-flee-strategy" current="1" display="bug-flee-strategy" width="138" sizeVersion="0">
638+
<switch x="395" y="15" height="40" on="true" variable="show-vision-cone?" width="155" display="show-vision-cone?"></switch>
639+
<chooser x="230" y="60" height="60" variable="bug-flee-strategy" current="1" width="160" display="bug-flee-strategy">
642640
<choice type="string" value="any"></choice>
643641
<choice type="string" value="nearest"></choice>
644642
<choice type="string" value="none"></choice>
645643
</chooser>
646-
<slider x="165" step="1" y="100" max="10" display="initial-bug-speed" height="33" min="0" direction="Horizontal" default="2.0" variable="initial-bug-speed" width="160" sizeVersion="0"></slider>
644+
<switch x="230" y="15" height="40" on="true" variable="wiggle?" width="160" display="wiggle?"></switch>
645+
<button x="11" y="16" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="76">setup</button>
646+
<button x="116" y="16" height="40" disableUntilTicks="true" forever="true" kind="Observer" width="77">go</button>
647647
</widgets>
648648
<info><![CDATA[## WHAT IS IT?
649649

0 commit comments

Comments
 (0)