Discuss Scratch
- Discussion Forums
- » Suggestions
- » Accelerometer
- aaronata
- Scratcher
1 post
Accelerometer
Most windows and mac laptops have an accelerometer in them to keep the hard drive from crashing when it's moved. Maybe there could be three sensor blocks that access the accelerometer. Block 1 would be up and down, Block 2 would be forward and back, and block 3 would be left and right. The blocks would be measured like this, 100 to -100. Using the blocks you could perhaps make an earthquake detecter, or an alarm that goes off if someone picks up your laptop.
Example of a webpage using accelerometer.
When it loads move your laptop upside down and stuff!
http://www.mrdoob.com/projects/chromeexperiments/google-gravity/
(if it doesn't work either your using a desktop, macbook air, or your laptop doesn't have an accelerometer)
Example of a webpage using accelerometer.
When it loads move your laptop upside down and stuff!
http://www.mrdoob.com/projects/chromeexperiments/google-gravity/
(if it doesn't work either your using a desktop, macbook air, or your laptop doesn't have an accelerometer)
Last edited by aaronata (Oct. 15, 2013 15:33:44)
- Zeyphr
- Scratcher
100+ posts
Accelerometer
Interesting idea, but why would you leave Scratch on all night?
Also, there's the risk of tipping your laptop too far back and dropping it…
Also, there's the risk of tipping your laptop too far back and dropping it…
_;_ PRAISE SEMICOLON.
Show me some gears!
- DotDash
- Scratcher
1000+ posts
Accelerometer
I leave scratch on at night all the time… Interesting idea, but why would you leave Scratch on all night?
Also, there's the risk of tipping your laptop too far back and dropping it…
My browser / operating system: MacOS Macintosh X 10.8.5, Chrome 29.0.1547.76, Flash 11.8 (release 800)
- Zeyphr
- Scratcher
100+ posts
Accelerometer
o_oI leave scratch on at night all the time… Interesting idea, but why would you leave Scratch on all night?
Also, there's the risk of tipping your laptop too far back and dropping it…
…Uh…Okay?
But the accelerometer block wouldn't work well with someone who has their laptop on their lap. Shifting feet, etc…
Also, what about the people with nonaccelerometer laptops or desktop computers?
_;_ PRAISE SEMICOLON.
Show me some gears!
- turkey3_test
- Scratcher
1000+ posts
Accelerometer
Okay (give it a heat break) but do you shake it around in your sleep? Plus, I don't support, because I'm not as comfortable shaking around my laptop as a tablet. When the Scratch app comes for IOS and Android next year, it will support the accelerometer and gyroscope, and other features like that.I leave scratch on at night all the time… Interesting idea, but why would you leave Scratch on all night?
Also, there's the risk of tipping your laptop too far back and dropping it…
- technoboy10
- Scratcher
1000+ posts
Accelerometer
They will probably have this for the iPad version of Scratch.
http://scratch.mit.edu/users/mres/#comments-378966
http://scratch.mit.edu/users/mres/#comments-378966
trans rights are human rights
- Nintendoisgood
- Scratcher
24 posts
Accelerometer
Ideas for blocks
@turnLeft @turnRight when device [tilted left v] :: extension hat
@turnLeft @turnRight when device [tilted right v] :: extension hat
@turnLeft @turnRight when device [tilted forward v] :: extension hat
@turnLeft @turnRight when device [tilted backward v] :: extension hat
@turnLeft @turnRight when device [shaken v] :: extension hat
< @turnLeft @turnRight tilted [forward v]? :: extension>
< @turnLeft @turnRight tilted [backward v]? :: extension>
< @turnLeft @turnRight tilted [left v]? :: extension>
<@turnLeft @turnRight tilted [right v]? :: extension>
<@turnLeft @turnRight shaken? :: extension>
Last edited by Nintendoisgood (Dec. 2, 2020 23:42:25)
Signed,
Nintendoisgood
Ctrl Shift Down to see the rest of me siggy
<;\) :: motion> // This is Timothy. He protects me from pesky kumquats.
when flag clicked
forever
go to [Nintendoisgood v]
follow [Nintendoisgood v] :: control
end
Every project of mine is made on a Mac Mini and an iPad Air 2.
RiiTag:
https://tag.rc24.xyz/user/969476634044428329
;
- Discussion Forums
- » Suggestions
- » Accelerometer