Activities/Turtle Art/Toolbars: Difference between revisions

Line 189: Line 189:


'''Note:''' When a named action or named box block are used, new blocks appear on the palette that correspond to these names; e.g., if a top of action stack is rename, "to square", an action block, "to square" is added to the palette.
'''Note:''' When a named action or named box block are used, new blocks appear on the palette that correspond to these names; e.g., if a top of action stack is rename, "to square", an action block, "to square" is added to the palette.
====Media Palette====
[[Image:TAmedia.png]]
These are a collection of blocks used for displaying media objects, such as images from the Journal.
* journal: Sugar Journal media object (used with show block) (also available in Turtle Art)
* audio: Sugar Journal media object (used with show block)
* video: Sugar Journal media object (used with show block)
* description: Sugar Journal description field (used with show block)
* text: text string (used with show block; also used with box and action blocks)
* show: draw text or display media object from the Journal
* set scale: sets the scale of images displayed with show block
* save picture: save the canvas to the Sugar Journal as a .png image (note: saves the canvas as displayed)
* save SVG: save turtle graphics to the Sugar Journal as a .svg image (note: only saves the changes to the canvas in the current execution run)
* scale: sets scale for show block (100% is full-screen)
* wait for media: used to pause program while audio or video file plays
* media stop: stop current sound or movie
* media pause: pause current sound or movie
* media resume: resume playing paused media
* speak: sends text to the voice synthesizer
* sinewave: plays a sinewave of a given frequency, amplitude, and diration


====Sensors Palette====
====Sensors Palette====
Line 239: Line 217:


([[Activities/TurtleArt/Uso_de_TortugaArte_Sensores]] español)
([[Activities/TurtleArt/Uso_de_TortugaArte_Sensores]] español)
====Media Palette====
[[Image:TAmedia.png]]
These are a collection of blocks used for displaying media objects, such as images from the Journal.
* journal: Sugar Journal media object (used with show block) (also available in Turtle Art)
* audio: Sugar Journal media object (used with show block)
* video: Sugar Journal media object (used with show block)
* description: Sugar Journal description field (used with show block)
* text: text string (used with show block; also used with box and action blocks)
* show: draw text or display media object from the Journal
* set scale: sets the scale of images displayed with show block
* save picture: save the canvas to the Sugar Journal as a .png image (note: saves the canvas as displayed)
* save SVG: save turtle graphics to the Sugar Journal as a .svg image (note: only saves the changes to the canvas in the current execution run)
* scale: sets scale for show block (100% is full-screen)
* wait for media: used to pause program while audio or video file plays
* media stop: stop current sound or video
* media pause: pause current sound or video
* media resume: resume playing paused media
* speak: sends text to the voice synthesizer
* sine wave: plays a sine wave of a given frequency, amplitude, and duration


====Extras Palette====
====Extras Palette====