s2ar
所属分类:虚拟/增强现实-VR/AR
开发工具:Swift
文件大小:190120KB
下载次数:0
上传日期:2019-02-06 05:28:42
上 传 者:
sh-1993
说明: S2AR(Scratch2ARKit)连接Scratch(更具体地说是ScratchX)和iOS ARKit,然后使任何人都可以编程构建...
(S2AR(Scratch2ARKit) connects Scratch (more specifically ScratchX) and iOS ARKit, then enables anyone to program building blocks in Augmented Reality world.)
文件列表:
.ruby-version (6, 2019-02-06)
APP_STORE.md (1539, 2019-02-06)
APP_STORE_JA.md (3525, 2019-02-06)
LICENSE (1101, 2019-02-06)
PRIVACY_POLICY.md (4395, 2019-02-06)
extension (0, 2019-02-06)
extension\crossdomain.xml (334, 2019-02-06)
extension\s2ar.js (14808, 2019-02-06)
images (0, 2019-02-06)
images\Download_on_the_App_Store_Badge_US-UK_RGB_blk_092917.svg (10804, 2019-02-06)
images\connect.png (23072, 2019-02-06)
images\convert.rb (181, 2019-02-06)
images\en (0, 2019-02-06)
images\en\3d_model.png (6923, 2019-02-06)
images\en\animation.png (9844, 2019-02-06)
images\en\change_layer.png (4838, 2019-02-06)
images\en\change_material.png (5120, 2019-02-06)
images\en\change_shape.png (5513, 2019-02-06)
images\en\connect.png (9221, 2019-02-06)
images\en\cube_size.png (6237, 2019-02-06)
images\en\lighting.png (6537, 2019-02-06)
images\en\map.png (12511, 2019-02-06)
images\en\molecular_structure.png (8353, 2019-02-06)
images\en\pin.png (12892, 2019-02-06)
images\en\remove_cube.png (5353, 2019-02-06)
images\en\reset.png (3646, 2019-02-06)
images\en\rotate_shape.png (5391, 2019-02-06)
images\en\rotate_shape2.png (6372, 2019-02-06)
images\en\scratch_game.png (41913, 2019-02-06)
images\en\set_box.png (6571, 2019-02-06)
images\en\set_char.png (6431, 2019-02-06)
images\en\set_color.png (5601, 2019-02-06)
images\en\set_cube.png (5247, 2019-02-06)
images\en\set_cylinder.png (7323, 2019-02-06)
images\en\set_hexagon.png (7551, 2019-02-06)
images\en\set_line.png (6534, 2019-02-06)
... ...
# S2AR(Scratch2ARKit)
» [日本語](https://github.com/champierre/s2ar/blob/master/README_JA.md)
S2AR(Scratch2ARKit) connects Scratch* (more specifically ScratchX) and ARKit, then enables anyone to program building blocks in Augmented Reality world.
![](images/random_tower.png)
\* Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu
S2AR is available at [App Store](https://itunes.apple.com/jp/app/s2ar/id1316847947?mt=8).
[![](images/Download_on_the_App_Store_Badge_US-UK_RGB_blk_092917.svg)](https://itunes.apple.com/jp/app/s2ar/id1316847947?mt=8)
Links
- [S2AR とは – AIに負けない!キッスフロクラミンク教室](http://creativival.com/s2ar-%E3%81%A8%E3%81%AF/)
Demo Movies
- https://www.youtube.com/watch?v=lYuR27QzpL0
- https://www.youtube.com/watch?v=rBz-OfMnzKU
- https://www.youtube.com/watch?v=P9t2iPcgGGw
## 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/.
![](images/scratchx.png)
3. On ScratchX website, click "Open Extension URL", paste "https://champierre.github.io/s2ar/extension/s2ar.js" in URL field and click "Open".
[![](images/scratchx.png)](https://scratchx.org/)
4. Click "I understand, continue" button on Warning dialog.
![](images/scratchx2.png)
5. 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.
![](images/en/connect.png)
6. 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).
![](images/origin.png)
7. 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.
![](images/en/set_cube.png)
![](images/set_cube_s2ar.png)
8. Use "set color to" block to change the block color.
![](images/en/set_color.png)
9. Use "reset" to delete all blocks.
![](images/en/reset.png)
## Sample Scratch Script
![](images/random_tower_script.png)
近期下载者:
相关文件:
收藏者: