Babelsberg/JS Demo World
Un-minimize any window. The ConverterExample and RegionExample are implementations of code examples from the ECOOP'14 paper Babelsberg/JS - A Browser-based Implementation of an Object Constraint Language. What they demonstrate is explained in their help texts. Click also on the links in the text to open ObjectEditors on relevant code. The other windows are further examples. Each window has a help button to explain what the example is about.
RegionExample
X

Menu
Circuits
X

Menu
ConverterExample
X

Menu
ColorGameZ3
X

Menu
sNAKE
X

Menu
Thermometer Demo
X

Menu
NaCLZ3
X

Menu
Z3Engine
X

Menu
users.timfelgentreff.layout.layout
browse
load now
is loaded
Module Part
X
M

LayoutConstraintP
X
Enter search term:
Next
regexp
Prev
Occur

X
LayoutConstraintP
X
Enter search term:
Next
regexp
Prev
Occur

X
LayoutConstraintBoxSameExtent
X
Enter search term:
Next
regexp
Prev
Occur

X
layout.js
X

Menu
N

...
../
layout.js (not parsed)
-----
-----
-----
1
-----
X
>
<
X
Enter search term:
Next
regexp
Prev
Occur

X
SystemBrowser
X

Menu
N

...
../
acornconstraintinterpreter.js (not parsed)
cassowary_ext.js (not parsed)
constraintinterpreter.js (not parsed)
core_ext.js (not parsed)
deltablue_ext.js (not parsed)
PerformanceTests.js (not parsed)
src_transform.js (not parsed)
tests.js (not parsed)
uglify.js (not parsed)
-----
-----
-----
1
-----
X
>
<
// changed at Sat May 03 2014 13:47:24 GMT+0200 (W. Europe Daylight Time) by stefanlehma
nn  
this.addScript(function sameExtentExample() {
    this.layoutSolver = new LayoutSolver();
    
    this.child1 = this.get("Rectangle1");
    this.child2 = this.get("Rectangle2");
    // clean up
    bbb.unconstrain(this, "child1");
    bbb.unconstrain(this, "child2");
    bbb.unconstrain(this.child1.shape, "_Extent");
    bbb.unconstrain(this.child2.shape, "_Extent");
    always: { solver: this.layoutSolver
        this.child1.sameExtent(this.child2)
    }
    console.log(this);
}).tag([]);
X
<lively.morphic.Box#DFA69... - Rectangle>
Tag:
run
save
Tests

-- ALL --
sameExtentExample
Scripts
-
+
-
Connections
+
-- ALL --
all
ObjectEditor
X

Menu