FamousFramework.scene('famous-tests:physics:basic:particle', {
    behaviors: {
        '.particle': {
            'size': [200, 200],
            'align': [0.5, 0.5],
            'mount-point': [0.5, 0.5],
            'position': function(position) {
                return position;
            },
            'style': {
                'background': 'whitesmoke',
                'border-radius': '50%'
            }
        }
    },
    events: {
        '$lifecycle': {
            'post-load': function($state) {
                $state.applyPhysicsForce('gravity1D', [ 'position' ]);
            }
        }
    },
    states: {
        'position': [0, 0, 0]
    },
    tree: `
        <node class="particle"></node>
    `
});

@@ -192,32 +192,181 @@
 t': %5B0.5, 0.5%5D,%0A
+            'style': %7B%0A                'background': 'whitesmoke',%0A                'border-radius': '50%25'%0A            %7D%0A        %7D,%0A        '.one': %7B%0A
             'pos
@@ -390,16 +390,17 @@
 position
+1
 ) %7B%0A    
@@ -426,16 +426,17 @@
 position
+1
 ;%0A      
@@ -434,33 +434,32 @@
 1;%0A            %7D
-,
 %0A            'st
@@ -447,34 +447,40 @@
   %7D%0A        
-    'style
+%7D,%0A        '.two
 ': %7B%0A       
@@ -488,78 +488,75 @@
     
-    'background': 'whitesmoke',%0A                'border-radius': '50%25'
+'position': function(position2) %7B%0A                return position2;
 %0A   
@@ -687,16 +687,37 @@
   $state
+%0A                    
 .applyPh
@@ -755,12 +755,160 @@
 tion
+1
 ' %5D)
+%0A                    .applyPhysicsConstraint('distance', %5B 'position1', 'position2' %5D, %7B%0A                        length: 400%0A                    %7D)
 ;%0A  
@@ -967,16 +967,17 @@
 position
+1
 ': %5B0, 0
@@ -977,16 +977,51 @@
 : %5B0, 0,
+ 0%5D,%0A        'position2': %5B0, -200,
  0%5D%0A    
@@ -1064,16 +1064,63 @@
 particle
+ one%22%3E%3C/node%3E%0A        %3Cnode class=%22particle two
 %22%3E%3C/node

Add example of applying physics constraint