Welcome to TalkGraphics.com
Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    18,448

    Lightbulb Impossible Cubes

    The following design has no images:

    Xara - Impossible Cubes.xar

    Do note, this JPEG shows the construction, not the final HTML rendering:

    Click image for larger version. 

Name:	Cubes.jpg 
Views:	140 
Size:	25.3 KB 
ID:	128373

    I couldn't resist building it but my technique was very imprecise.

    Click image for larger version. 

Name:	Screenshot 2020-11-25 14.38.44.jpg 
Views:	137 
Size:	28.8 KB 
ID:	128374

    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

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,650

    Default Re: Impossible Cubes

    The first example there is a problem with the third cube down on the left. The second looks great.

    Not sure what you mean HTML rendering. Need more info.

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    18,448

    Smile Re: Impossible Cubes

    Quote Originally Posted by gwpriester View Post
    The first example there is a problem with the third cube down on the left. The second looks great.
    Not sure what you mean HTML rendering. Need more info.
    No Gary, the TG JPGing of the image destroys the transparency in the first image.
    I let it be as it shows how I folded the bottom left, second in, cube to make it appear both over and under the touching cube.

    "HTML rendering" is looking at the design file Preview or other web output.

    The second image was such a screen grab.

    Open the design file and check the funny cube actually has an extra lid.

    The point of making it like this is to show how small the payload is and how much you can scale without any jaggies.
    I want Xara to deliver more web content that is vector, be it through HTML, CSS or SVG.

    My inspiration was https://a.singlediv.com.

    Acorn

    P.S.
    The index.htm file is just 12.37kB so very fast to load.
    Each face is code like:
    <span class="xr_ar xr_t280" style="left:274px;top:361px;width:143px;height:143 px; background-color: #92EDE3; transform: matrix(-0.866,0.500,0.000,1.000,0,0);"></span>
    Pure maths: the -0.866 is sin-1(-60)o​. Far clearer than a tacky JPEG.
    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

  4. #4
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,650

    Default Re: Impossible Cubes

    Would this work as well? Especially for people who are short on time?
    Attached Files Attached Files

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    18,448

    Lightbulb Re: Impossible Cubes

    Quote Originally Posted by gwpriester View Post
    Would this work as well? Especially for people who are short on time?
    Thanks Gary.

    The approach would require a Intersect All any time you moved the overlap.
    The resultant shapes are rendered as images so will become blocky at scale.
    There is no need for the Yellow kite as the Green shapes overlap already.

    My approach does not end up with any images so is one HTTP fetch, smaller and sharper.


    I do notice your edges are not aligned as the comers do not touch exactly.

    To make the 'perfect' Xara cube:


    1. With the Rectangle Tool, click-drag a square.
    2. Rotate 45o.
    3. Resize the width to 1,000,000 mp (Xara accepts milliPoint values typed in directly to the W & H boxes).
    4. With Aspect Ratio unlocked, set your Height to 577,350 mp (Xara uses milliPoints in its internal calculations).
    5. You now have one Face with angle 30o.
    6. Clone and Rotate to 90o.
    7. Clone and Flip horizontally.
    8. Colour and marry the three Faces as a common intersection.
    9. Soft-Group and keep as your Master Cube.

    I still want to create the Face without the Steps 3&4 calculations.
    The use of the Isometric Grid is no real use.

    Any takers?

    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

  6. #6
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,650

    Default Re: Impossible Cubes

    My cube examples were very quick and crude.

    I'm an artist not a mathematician. And I have made hundreds of cubes for my stereograms.

    My method is more primitive but it works for me.

    I use the QuickShapes Tool to make a hexagon using the Radius Creation Option.

    I zoom in and snap two guidelines to the center of the cube.

    I use the Shape Tool to draw the top shape.

    Rotate and duplicate the top shape around the bottom point 120 degrees. Then once more.

    It works for me.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	cube making.png 
Views:	89 
Size:	33.2 KB 
ID:	128376   Click image for larger version. 

Name:	Perfect Cube.jpg 
Views:	111 
Size:	74.2 KB 
ID:	128377  


  7. #7
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    18,448

    Default Re: Impossible Cubes

    Quote Originally Posted by gwpriester View Post
    My cube examples were very quick and crude.

    I'm an artist not a mathematician. And I have made hundreds of cubes for my stereograms.
    My method is more primitive but it works for me.
    I use the QuickShapes Tool to make a hexagon using the Radius Creation Option.
    I zoom in and snap two guidelines to the center of the cube.
    I use the Shape Tool to draw the top shape.
    Rotate and duplicate the top shape around the bottom point 120 degrees. Then once more.
    It works for me.
    Thanks Gary, you inspired me.

    Create a hexagon.
    Clone it and position the one's centre to the apex of the second.
    Intersect and you are left with the exact shape.
    As it is a Shape and I want a Rectangle looking the same I can create a square, rotate 45o and centre on the shape and Shift-Drag corners to snap-fit.

    No math / maths.

    Click image for larger version. 

Name:	Precise Rhombus.jpg 
Views:	115 
Size:	30.4 KB 
ID:	128378

    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
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,650

  9. #9
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,567

    Default Re: Impossible Cubes

    are you eschering new ideas?
    -------------------------------
    Nothing lasts forever...

  10. #10
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    18,448

    Default Re: Impossible Cubes

    Quote Originally Posted by handrawn View Post
    are you eschering new ideas?
    No, not me:

    Click image for larger version. 

Name:	Crazy Triangle.jpg 
Views:	194 
Size:	28.9 KB 
ID:	128380

    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
  •