4K Geometric Wallpaper Generator In JavaScript

Category: Javascript | December 3, 2021
Authorroytanck
Last UpdateDecember 3, 2021
LicenseMIT
Tags
Views590 views
4K Geometric Wallpaper Generator In JavaScript

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>

You Might Be Interested In:


Leave a Reply