Skip to content

S2AR(Scratch2ARKit) connects Scratch (more specifically ScratchX) and iOS ARKit, then enables anyone to program building blocks in Augmented Reality world.

License

Notifications You must be signed in to change notification settings

champierre/s2ar

Repository files navigation

S2AR(Scratch2ARKit)

» 日本語

S2AR(Scratch2ARKit) connects Scratch* (more specifically ScratchX) and ARKit, then enables anyone to program building blocks in Augmented Reality world.

* Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu

S2AR is available at App Store.

Links

Demo Movies

How to use

  1. On iOS device, start S2AR and you will find ID(connection ID) appeared in the bottom bar.

  2. On PC, open a browser then connect to https://scratchx.org/.

  1. On ScratchX website, click "Open Extension URL", paste "https://champierre.github.io/s2ar/extension/s2ar.js" in URL field and click "Open".

  1. Click "I understand, continue" button on Warning dialog.

  1. 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.

  1. 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).

  1. 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.

  1. Use "set color to" block to change the block color.

  1. Use "reset" to delete all blocks.

Sample Scratch Script

About

S2AR(Scratch2ARKit) connects Scratch (more specifically ScratchX) and iOS ARKit, then enables anyone to program building blocks in Augmented Reality world.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages