DOM Bokeh Page Effect Maker (dom-bokeh)
DOM parsing bokeh effect creator
Installation
npm install dom-bokeh
Usage
{}
Properties
Inputs | Description |
---|---|
lighting |
3D angle at which the "light" is coming from (3 point lighting?) |
focus-depth |
How "far" into the page the "camera" is focused (e.g. 50mm) |
f-stop |
How much "light" comes through |
camera-zero |
where in DOM is focus depth away |
camera-type |
black & white or color |
Authors
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project Status
Starting