Using graphing / data visualization as a Playground for Literacy and Mathematics. http://sfe.io/r74. @ sparkfun #nsta14. Scratch-ing the Surface of Programming and Enhancing Science. Using graphing as a Playground for Literacy and Mathematics. Brian Huang, Linz Craig, Derek Runberg
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Using graphing / data visualization as a Playground for Literacy and Mathematics
Using graphing as a Playground for Literacy and Mathematics
Before we move any further, let’s make sure that we all know each other in this room?
Please introduce yourself to the person(s) sitting in your general vicinity. Tell them a few things about yourself, maybe:
At SparkFun, our focus is all about creation, innovation, and sharing information.
Open Source Hardware is at the core of our business. We emphasize researching,re-mixing, adapting, making improvements, and sharing with the world!
Sprites are the objects that perform actions in a project.
These may be characters, objects, or itemsto be manipulated.
Default sprite is “Scratch” the cat!
A costume is one out of possibly many "frames" or alternate appearances of a sprite.
Sprites may change their look to any of its costumes.
Use this feature to create animations - similar to a flip-book or stop motion animation.
The stage is a background or a “back-drop” for your project..
You can paint, import, or take a photo as your background.
Multiple backgrounds may be used to create different scenes for a story or levels in a game.
Grid space for the stage is setup with a standard Cartesian coordinate system.
The origin - (0,0) is in the center.
X: -240 to +240
Y: -180 to +180
Attributes of the sprite and the stage can be manipulated using a script or set of instructions.
A script consists of a set of blocks that are “strung” together.
Blocks are organized into 8 separate “bins” by how it affects the sprite →
The paint tools in Scratch are standard
Hat blocks all start with the key word “when”
Hat blocks define the beginning of a script.
Any blocks attached to this will execute (run) when the event XXXX occurs.
Recall: Grid space is
X: -240 to +240,
Y: -180 to +180
Blocks can be placed inside the “forever” bracket.
Any and all code blocks inside this will repeat over and over… forever…
As the sprite moves across the screen, it can place a “pen” down to trace it’s motions.
This feature can be used to sketch simple shapes, plan out maps, or graph data…
Rationale / pseudo-code:
For fun, let’s tie the y-axis to the mouse
(notice that the blocks are of different colors…)
Sensor readings range: 0 – 100.
Scale the number to fit our widow using two points: sensor = 0, y = -180 ; sensor = 100, y = +180
Introduce timer object reports # of seconds from start of program or since the “reset timer” block was called.
Scaling the timer 480 pixels (points) in the x-direction.
twitter: @bri_huang, @sparkfun, #nsta14
Interested in any of this?
E-mail us about our 20% educator discount – firstname.lastname@example.org