S2AR(Scratch2ARKit) connects Scratch* (more specifically ScratchX) and ARKit, then enables anyone to program building blocks in the Augmented Reality world.
- Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu
= How to Use =
- On iOS device, start S2AR and you will find ID(connection ID) appeared in the bottom bar.
- On PC, open a browser then connect to http://scratchx.org/.
- On ScratchX website, click "Open Extension URL", paste "https://champierre.github.io/s2ar/extension/s2ar.js" in URL field and click "Open".
- Click "I understand, continue" button on Warning dialog.
- Special blocks for S2AR are available under "More Blocks" category. Drag "Connect with ID:" block to Scripts Area, and input ID appeared in S2AR app, then click the block.
- Back to S2AR on iOS device, find any surface then tap on it. Coordinate axes should appear there. This will be origin point(x:0, y:0, z:0).
- On ScratchX, drag "set cube at x:1 y: 0 z: 1" block to Scripts Area, then click the block. You will see a gray block is set near to the origin point.
- Use "set color to" block to change the block color.
- Use "reset" to delete all blocks.
Demo movie: https://www.youtube.com/watch?v=P9t2iPcgGGw
- New user interface to select the origin point.
- Support more commands like "set_box", "set_cylinder", "set_hexagon", "set_sphere", "set_char", "set_line" and "set_roof".
- Fix the bug that the app crashes when "reset" command is received.