New RAP Demo Available
Here’s a video of the new demo of RAP. This video shows a cube in Croquet and a cube in Second Life exhibiting the same behavior(changing the color of the cube) via RAP messages send from in-world web browsers. The key steps seen in the video are described below.
RAP messages are created and processed in Squeak Smalltalk, JavaScript and Linden Scripting Language(LSL). These messages are transmitted to a primitive FUNK Space and retrieved by each environment via http.
![]()
Cubes are white, the cursor is in Croquet about to click on the “Black Cube” link. After clicking the cubes have turned black and the cursor is about to click on the “White Cube” link.
![]()
After clicking again, the cube turn back to white.
![]()
Now the cursor is moved to the Second Life window where the “Black Cube” link is clicked and the cubes turn black.
the “White Cube” link is clicked on and the cubes turn white.
The messages in FUNK encoded form look like:
0message,6,3did,firefox,3ts,1184402324783,3aid,DemoCube,3action,setColor,0sd,3,2r,1.0,2g,1.0,2b,1.0,1d,0
A structured layout would look like:
- 0message,6
- 3did,firefox
- 3ts,1184402324783
- 3aid,DemoCube
- 3action,setColor
- 0sd,3
- 2r,1.0
- 2g,1.0
- 2b,1.0
- 1d,0