Color: Difference between revisions
(Created page with "<languages/> <translate> Category:Traits Category:Code Block </translate>") |
(duplicate file already uploaded) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:2--> | |||
<section begin="image"/>[[File:color.png|alt=The Color Block|thumb]]<section end="image"/><p id="tooltip">Creates the specified color.</p> | |||
==Usage== <!--T:3--> | |||
<!--T:4--> | |||
Returns a particular color or a color at random chosen from the drop down menu. | |||
==Syntax== <!--T:5--> | |||
<!--T:6--> | |||
Inputs in this block: | |||
#a preloaded color from the dropdown menu | |||
==Example== <!--T:7--> | |||
<!--T:8--> | |||
[[File:set_my_to_example.gif|alt=Color example gif|thumb]] | |||
[[File:color_example.png|alt=Color example code|thumb]] | |||
<!--T:9--> | |||
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. | |||
<!--T:1--> | |||
[[Category:Traits]] | [[Category:Traits]] | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> | </translate> |
Latest revision as of 18:37, 16 August 2023
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:
- a preloaded color from the dropdown menu
Example
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.