Remixes 8
Want to remix this clipart?
  1. Download the SVG
  2. Edit it in your favourite SVG editor
  3. Upload with Upload Remix (links automatically)
Log in to Upload Remix Download SVG
Sources

No catalog sources linked yet.

I found this clipart!

Related Finds — Openclipart spotted in the wild. Browse all · Atom

No Finds yet.

Log in to post a Found.

Optical Illusion 3

by JayNick - uploaded on December 7, 2017, 2:04 pm

Remix of Optical Illusion 2 as suggested by @AdamStanislav

Changed viewBox so that circles were centered at (0,0)

Reduced file size by ~ 1 KB.

Log in to add this clipart to a collection.

Tags
geometry illusion opt.chall.2 optical STEAM steamcoded.org STEM
Safe for Work?
Yes
Download SVG

Comments

Good suggestion @AdamStanislav I was aware of how the viewBox can be changed to center circles at (0,0), but don't normally think of it. I have a good example of that useful for a math teacher I'll have to upload. Now where did I put that file ...

Why do the Optical illusion 2 and Optical illusion 3 thumbnails on the page appear differently than Optical illusion? Or is it a defect of my Safari 10.1.2 broswer? Thank you.

@JayNick :)

@dordy No, nothing to do with your browser. The thumbnails are PNG bitmaps, which all browsers are interpreting the same (as far as I know). It is the software that creates those thumbnails (on OpenClipart server) that can convert identically looking SVG files into somewhat differently looking PNG bitmaps. For one, they use different algorithms to convert files created by a certain software than for files created by all other software and the files coded and optimized by hand. The reasons for that should be obvious to anyone who has ever read my view of the certain software, whose name I shall not mention here because whenever I do, the reaction reminds me of the aria which says, “But the tigers come at night with their voices soft as thunder, as they tear your hope apart, as they turn your dream to shame.” :)

Thank you for the explanation. Very helpful. I would gladly read your point of view on the various software.

For further small-ification, you can do this online in under 30 seconds: https://jakearchibald.github.io/svgomg/ Click on "Open SVG". Select your file. Click on the button for "Compare gzipped" to turn it off. Now look at the bottom of the screen, it says how much it reduced the file size. Click on the download button beside it, save it to your directory. You're done.

I did this and it says downloaded to 2767 bytes (the original of opticalIllustion3.svg
was 3743 bytes), with no visible difference. If you are not overly concerned about perfection, you can slide the slider to a precision of "1" for 2.66K file size.

This is just a tip, you can use it if it works for you.

This software does some niceties that even Inkscape's "save as" / "Optimized SVG" won't do; I've found it can do a better job in optimizing, and I like the look of the final file, no extra stuff.

(Optional): I then always look at them: one immediately after another using an image viewer software that allows you to just slide the mouse wheel up and down to look two images, one after the other in rapid succession. My viewer is ristretto 0.8.0 for Ubuntu.

(Not optional): Then look at the newly saved creation in Inkscape or your favorite other svg software. This is not optional because I often find that my reduced-sized svg file looks fine in Chromium and Firefox, and even in my risretto image viewer, but it looks completely destroyed in Inkscape .92.

(My tip): I then write a html file, with a colored background, add an image tag which points to my newly created svg file. Then I look at the newly created html file, zoomed in, in both Firefox and Chromium. This has shown me countless times things such as white vs transparent parts, strokes that stick out past another path (that may need to be altered with a stroke cap or join, or just plain moved). (This tip has nothing to do with your artwork)

I have no affiliation with the above products or web sites. I just discovered the optimizing website by accident one day, and found it's useful for me.

Thanks for the link @SunKing2 Very useful. File reduction to the point of unreadable code goes a little too far. But, this site will do it for you. I like all the options so you can choose just how far you want to go in reducing the file size.

@SunKing2, Personally, I check all my SVG files in Opera. It will catch even those small errors that no other software (not even Inkscape) catches. And best of all, it tells what and where the error is.

@JayNick, if you are interested here is the same image redrawn in around 800 bytes: http://www.inkscapeforum.com/viewtopic.php?f=24&t=33238#p102585

Bellissimo! Grazie

Log in to comment.