Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2018
    Posts
    6

    Default Wasp pattern in a square question

    Hello,

    Sorry for the lame question. I would like to create a square, then divide it with diagonal stripes, and fill each stripe with alternative color - yellow-black-yellow-etc... I can't really figure out how to do this. Any suggestions are welcome.

    Thank you.

  2. #2
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,777

    Default Re: Wasp pattern in a square question

    I would:
    Make a series of rectangles with the Snap To Objects turned on (magnet icon) [pic 1]
    Select all the rectangles and rotate by 45 degrees and group them (ctrl +G) [pic 2]
    Create a square and place on top of the stripes. Select the grouped stripes and the square and Intersect the 2 (ctrl+3) [pic 3]

    Click image for larger version. 

Name:	hellia1.jpg 
Views:	90 
Size:	52.7 KB 
ID:	134224 Click image for larger version. 

Name:	hellias2.jpg 
Views:	86 
Size:	93.2 KB 
ID:	134225 Click image for larger version. 

Name:	hellias3.jpg 
Views:	95 
Size:	40.8 KB 
ID:	134226

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

    Default Re: Wasp pattern in a square question

    Alternately, place the rectangle behind the stripes, select all and Arrange > Apply Clipview.

    The advantage to Clipview is you can remove clip view and your stripes are still intact.

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

    Default Re: Wasp pattern in a square question

    Quicker and you are only working on the Square:

    Select your Square and add a Yellow/Black Repeating Fill, which you Ctrl Drag to make it diagonal.
    Then set the Profile to (0, -1) to get equal sized BY stripes.
    Change the zero between +-1 to change the relative widths of the stripes.
    Ctrl Drag the Local End Control to increase or decrease the number of stripes.

    Click image for larger version. 

Name:	Screenshot 2023-11-09 231654.png 
Views:	91 
Size:	9.9 KB 
ID:	134229

    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

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

    Default Re: Wasp pattern in a square question

    Quicker and you are only working on the Square:
    Is this vector?

  6. #6
    Join Date
    Jan 2018
    Posts
    6

    Default Re: Wasp pattern in a square question

    Thank you so much. I ended up doing something like the last suggestion - created a yellow/black fill, saved it as a bitmap, and Shift+drag from the bitmap gallery.

  7. #7
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,875

    Default Re: Wasp pattern in a square question

    Quote Originally Posted by gwpriester View Post
    Is this vector?
    No, it does not. Neither does Clipview. Chris's Intersect does.
    You would still need a Plus XDA so out of scope for the OP.

    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

  8. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,875

    Default Re: Wasp pattern in a square question

    For interest, the CSS in the Website Head and a Name of htmlclass="stripes", adds stripes to any (non-)rounded corner rectangle.
    A pure circle can be rotated to alter the angle but generally you adjust values in the :root section.

    It works in all XDA versions.
    The bottom square is not a Rectangle but a square shape, which, without SVG enabled or available, renders a enclosing PNG that is only 90 bytes large.
    All objects need to be set as No Fill.

    CSS - Wasp Stripes.xar

    Potentially crisper:

    <style>
    .stripes {
    background-image: linear-gradient(45deg, yellow 25%, black 25%, black 50%, yellow 50%, yellow 75%, black 75%, black 100%);
    background-size: 32px 32px;
    }
    </style>

    Acorn
    Last edited by Acorn; 11 November 2023 at 10:17 PM.
    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
  •