Color: Difference between revisions
No edit summary |
(updates from Blockument) |
||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<translate> | <translate> | ||
<section begin="image"/>[[File:color.png|alt=The Color Block|thumb]]<section end="image"/><p id="tooltip">Creates the specified color.</p> | |||
==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== | |||
[[File:color_example.gif|alt=Color example gif|thumb]] | |||
[[File:color_example.png|alt=Color example code|thumb]] | |||
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--> | <!--T:1--> | ||
[[Category:Traits]] | [[Category:Traits]] | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> | </translate> |
Revision as of 19:16, 14 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.