Color/es: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
 
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>


<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="image"/>[[File:color.png|alt=The Color Block|thumb]]<section end="image"/><p id="tooltip">Creates the specified color.</p>
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Usage==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Returns a particular color or a color at random chosen from the drop down menu.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Syntax==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inputs in this block:
#a preloaded color from the dropdown menu
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Example==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:set_my_to_example.gif|alt=Color example gif|thumb]]
[[File:color_example.png|alt=Color example code|thumb]]
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This is a model of bacterial growth and reproduction. Bacteria eat food in order to grow. After eating a sufficient amount, the bacteria will undergo mitosis and split into two new bacterial cells. Each lineage of bacteria has its own color that has been established during setup using the ‘color’ block.
</div>
<div class="mw-translate-fuzzy">
[[Category:Rasgos]]
[[Category:Rasgos]]
[[Category:Code Block]]
[[Category:Code Block]]
</div>

Latest revision as of 18:38, 16 August 2023

Other languages:
The Color Block

Creates the specified color.

Usage

Returns a particular color or a color at random chosen from the drop down menu.

Syntax

Inputs in this block:

  1. a preloaded color from the dropdown menu

Example

Color example gif
Color example code

This is a model of bacterial growth and reproduction. Bacteria eat food in order to grow. After eating a sufficient amount, the bacteria will undergo mitosis and split into two new bacterial cells. Each lineage of bacteria has its own color that has been established during setup using the ‘color’ block.