Skip to content

goncalogoncalves/genwallnow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate Wallpaper Now jQuery Plugin

It allows the creation of an image through a set of parameters

work in progress...

Why

  • I wanted to create a jquery plugin
  • I like to put random backgrounds into my smartphone

Usage example

$(target).genWallNow({
      width: "720px",
      height: "1280px",
      backgroundColor: "#000000",
      patternStyle: "style1",
      arcRadius: 25,
      randomSize: true,
      colorAlphaRandom: true,
      fillStyle: "#ffffff",
      strokeStyle: '#ffffff',
      strokes: true,
      lineWidth: 15,
      randomLineWidth: true,
      numberIterations: 1000,
      monochromatic: true,
      randomPosition: true
  });

Output example

Generate Wallpaper Now