Welcome to TalkGraphics.com
Results 1 to 10 of 90

Hybrid View

  1. #1
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,522

    Default Re: Seamless Tiling Background Challenge

    Crosshatch

    http://gwpriester.xara.hosting/cross...tern/index.htm

    Also, how do I attach this script to the button?

    <script>
    <button onclick="location.reload();">Refresh Page</button>
    </script>

    I achieved this by linking to a duplicate page but I am sure there is a better way.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	crosshatch.png 
Views:	101 
Size:	16.1 KB 
ID:	130182  
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,903

    Default Re: Seamless Tiling Background Challenge

    Quote Originally Posted by gwpriester View Post
    Crosshatch

    http://gwpriester.xara.hosting/cross...tern/index.htm

    Also, how do I attach this script to the button?

    <script>
    <button onclick="location.reload();">Refresh Page</button>
    </script>

    I achieved this by linking to a duplicate page but I am sure there is a better way.
    Gary, just put index.htm as the link.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,522

    Default Re: Seamless Tiling Background Challenge

    Gary, just put index.htm as the link.
    Isn't that the same as # ?

    Apparently not.

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,903

    Info Re: Seamless Tiling Background Challenge

    Gary, I had to tweak your design.

    The basic pattern unit is:
    Click image for larger version. 

Name:	Gyrator.png 
Views:	104 
Size:	27.5 KB 
ID:	130186
    I made this with 4px, 64px & 4px boxes, grouped and Skewed to give sharp edges.
    Copies were coloured and rotated.

    The repeat can simply be slid in place across and down.
    I centred the shapes so the inner empty hexagon and triangles were all balanced.

    My design file is: SVG - Gary's Mesh.xar

    The SVG as attached separately.

    Acorn
    Attached Files Attached Files
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #5
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,522

    Default Re: Seamless Tiling Background Challenge

    I based by design on a hexagon which explains my pattern. Yours is better. That said, you had my pattern for a template.

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,936

    Default Re: Seamless Tiling Background Challenge

    Egg, I see that happening.

    Your SVG has a size of width="666.001" height="385.001".
    I trimmed these to width="666" height="385" and the lines were much reduced.
    Sorry Acorn, missed that post. I agree with what you're stating there, however I noticed the exported svg pixel sizes when opening in Inkscape. The cutting 'rectangle' within Xara states whole (integer) pixels but the export gives decimal place W x H. I've tried many methods to reduce this effect i.e. reducing the svg size in Inkscape to whole units an re-saving. but the incomplete tiling remains. I can reduce it but it's never perfect. Sometimes it is but often it's not.

    I'll try your method of restricting the image to the square root of three but this is very restrictive. Just endevouring to get the 'cutting' rectangle above a vector shape is hit and miss re tiling. I can easily achieve it using png's but not simple at all using Xara generated svg's :-(
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  7. #7
    Join Date
    Jul 2007
    Location
    Brockville, Ontario, Canada.
    Posts
    4,619

    Default Re: Seamless Tiling Background Challenge

    Does it matter how it's created?

    Click image for larger version. 

Name:	Chain Link.jpg 
Views:	129 
Size:	37.2 KB 
ID:	130195

    Click image for larger version. 

Name:	2021.07.20_21h52m24s_001_.jpg 
Views:	128 
Size:	140.5 KB 
ID:	130196
    Keith
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    There are 10 types of people in this world .... Those who understand binary, and those who don't.

  8. #8
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,522

    Default Re: Seamless Tiling Background Challenge

    Nice one Keith.

    Does it matter how it's created?
    Not really but the point of the challenge was to use Acorn's method of an svg image which I was very reluctant at first to try. But it works and creates a truly scalable background that you can zoom in and out of.

  9. #9
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,903

    Default Re: Seamless Tiling Background Challenge

    Quote Originally Posted by ss-kalm View Post
    Does it matter how it's created?

    Click image for larger version. 

Name:	Chain Link.jpg 
Views:	129 
Size:	37.2 KB 
ID:	130195
    Keith, to a certain extent, it does.
    The key premise clearly has to be does it work for you.

    The Challenge is trying to focus on two concepts: a canonical form and high fidelity.
    Both contribute to making smaller image files.

    In your case, the canonical for could be any 128 x 128 px overlap on top of your mesh as your pattern repeats at this interval.

    These two PNGs can be used as examples:

    Name:  cross.png
Views: 377
Size:  15.1 KB or Name:  cage.png
Views: 356
Size:  15.2 KB

    In then picking Set as Pasteboard background, you get the same coverage as your Chain Link file.

    Building either of these as vector shapes/glyphs and saving as a SVG delivers the high fidelity and scaling that makes them stand out.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •