3 projects tagged "BSD Original"
Light source is an object which can apply a shadow to page elements based on the position of a light. It takes the identifier of a page element and changes its CSS atttributes which define shadow parameters depending on the position of a light source relative to the target element and its children elements. The shadow can be generated either with the shape of the text elements or the whole box of the target element.
Isoworld can render 3D isometric cubes from three page elements. It takes the identifiers of three page elements and adjusts their CSS transform properties so they form the faces of a cube which appears in the page with the 3D isometric perspective. It can also use a fourth element to be displayed as the shadow of the cube on top of another element which appears as the ground.
Lightning effect JS is an object that can draw a random lightning bolt on the page. It can create a canvas on which a glowing random line similar to lightning bolt is drawn within given page boundaries. The position, color, and thickness of the lightning bolt are configurable parameters.