Author: | roytanck |
---|---|
Views Total: | 256 views |
Official Page: | Go to website |
Last Update: | December 3, 2021 |
License: | MIT |
Preview:

Description:
This is a JavaScript-powered wallpaper generator that generates downloadable, sharable, high-solution (4K) geometric desktop wallpapers using HTML5 Canvas API.
How to use it:
1. Create an empty canvas on which you want to draw the wallpaper.
<canvas width="3840" height="2160"></canvas>
2. Load the main JavaScript wallpaper.js in the document.
<script src="wallpaper.js"></script>
3. Create a link to save the wallpaper (base64 encoded).
<a download="wallpaper.png" href="" id="download">Save this wallpaper</a>
4. Generate a share link.
<a href="" id="share">Grab the link to share it</a>