Space.js is a HTML-driven JS library for narrative 3D-scrolling created by Patrik Göthe. The goal of this experimental library is to explore a new way of presenting content on the web by introducing a new dimension to our usual scrolling behavior. It works by dividing your HTML sections into frames called space-frame and transition them in and out of the screen as you scroll. The default frame transition is to enter by fading in and exit by scaling up and then fading out however you can compose your own transitions using properties like opacity, scale, translate3d and rotation with the API. Hit the button below to learn more or view some demos.
comment 0