Skip to content

Allow backgrounds to be applied to arbitrary block elements #3

@llewelld

Description

@llewelld

Currently shader backgrounds can only be applied to the body element. It'd be really great if shaders could be applied to arbitrary block elements on a page.

Support would be needed for multiple shaders to be loaded and configured. The code for resizing the background element would also need to support multiple elements.

Applying a canvas as a background to a div can be done, but it looks like dynamically updating the result would be inefficient: http://stackoverflow.com/a/9971339 so the creating a canvas as a subelement still looks neater.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions