diff --git a/examples/community.html b/examples/community.html index fa33ae2..ba133d0 100644 --- a/examples/community.html +++ b/examples/community.html @@ -43,6 +43,31 @@

Game of Life by +

Meyer Objects by Yuriy Galanter

+

+ Meyer Objects on jsbin.com +

+ +
+

Vortex by Yuriy Galanter

+

+ Vortex on jsbin.com +

+
+
+

Effects by Yuriy Galanter

+

+ Effects on jsbin.com +

+
+
+

FireplaceYuriy Galanter

+

+ Fireplace on jsbin.com +

+
+ diff --git a/src/html-binding.js b/src/html-binding.js index 56f6779..caa465f 100644 --- a/src/html-binding.js +++ b/src/html-binding.js @@ -1,4 +1,4 @@ -/* +/* Copyright © 2015-2016 Pebble Technology Corp., All Rights Reserved. http://pebble.github.io/rockyjs/LICENSE @@ -133,5 +133,8 @@ Rocky.bindCanvas = function(canvas, options) { // schedule one render pass for the next run iteration of the run loop setTimeout(function() { binding.mark_dirty(); }, 0); + // expose framebuffer to the caller + binding.framebuffer = framebufferPixels; + return binding; };