Git Product home page Git Product logo

svelte-svg-patterns's Introduction

Pattern Monster - SVG Pattern Generator

GitHub repo size License: MIT GitHub last commit Website

pattern.monster


Create seamless patterns in SVG to use as website backgrounds, header images, stationery design and package design

320+ patterns available

Features:

✔ Customize foreground and background colors

✔ Modify stroke width for supported patterns

✔ Change the angle to generate unique images

✔ Copy CSS and SVG code directly to your clipboard for web projects

✔ Download a tileable SVG or a high resolution seamless PNG image for print projects

✔ Filter patterns by stroke / fill or by number of colors

✔ Search for patterns

✔ Sort patterns alphabetically or by date updated

License

MIT License

Copyright (c) 2020 - 2023 pattern.monster

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

svelte-svg-patterns's People

Contributors

catchspider2002 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

svelte-svg-patterns's Issues

Request to copy image data to clipboard (to share a workflow with other software)

Hey, I am a huge fan of Pattern Monster as it fills in a niche that I use to think only Adobe or other commercial software could do. Do you think it would be possible for PM to copy its pattern image data to the clipboard? That way it can share a workflow with other software such as Gimp.

Here is an example of Pattern Monster, Gimp, and Trianglify working together to do something awesome.
image

Thanks.

Here's how to compile Pattern Monster (requires npm)

Download from Github then go into the main folder and input
npm install && npm run build

then input node sapper/build to active port 3000. Then in your web browser go to http://localhost:3000/

Every time you run pattern monster you will need to run node sapper/build first, so you might want to consider making a bash script that does it on startup on your system.

image

Are patterns seamless?

Hi guys, I have the feeling that the .png patterns I download (1024 x 1024) should be seamless but they are not. Am I doing something wrong or that's just the way it is?

Is there a certain size or zoom level that can only make them seamless?

Thanks

CSS?

Where are you supposed to use the "css" code? It doesn't even look like any css I've ever seen. Where are the "curly braces" ( '{' & '}' )? Am I missing something?

Internal Server Error when opening patterns in new tab

When I open a pattern in a new tab (ctrl+clicking the pattern from the home page), I receive an empty page that says internal server error.

The console has the following message:

The FetchEvent for "https://static.cloudflareinsights.com/beacon.min.js" resulted in a network error response: the promise was rejected.

service-worker.js:1 Uncaught (in promise) TypeError: Failed to fetch

I thought I would let you know. Thanks for the cool site!

Closed because it is now working. Not sure what changed.

svg data url should specify utf8 charset

The auto-generated CSS does not specify a utf-8 charset in the encoding parameters. This lead prevented Netlify from rendering the pattern when pushed to production. Funnily enough, the provided data URL worked fine on my local machine, but things broke when I pushed to production.

Provided CSS:

url(data:image/svg+xml,<svg ...svg stuff here... />)

The data URL should be as follows:

data:image/svg+xml;utf8,<svg...stuff... />

In general, I think it would be helpful to have a tutorial/how-to section on the site to help devs with less experience (i.e. others like me) use the patterns in their own projects. Would be happy to help write something if that would be of use!

Pattern flickers when adjusting sliders (Firefox)

In Firefox, the pattern flickers (goes completely black) for a fraction of a second when a new combination of slider settings is selected. Once all possible values of a slider have been explored, there is no more flickering.

Other platform details

  • Ubuntu 20.04
  • Nvidia GPU with latest proprietary drivers

Exported svg is just a simple object

It might just be a matter of me not understanding something, but whenever I copy or download a pattern as an svg I simply just get a black square upon pasting / importing it into my figma / xd project.

Colorpalet

Am I supposed to see colors here? Working in the latest version of Chrome on WIndows 10

image

Patterns including trees

Not an issue, more of a pattern request.

Would it be possible to create a few patterns with trees? for example, a modification to the Christmas tree background showing a plain tree would be good.

Also other types of trees as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.