Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-mini-2025-04-14· OpenAIAi2 WildChat-4.8M (AI2)

outshow many independent weird svgs codes with weird dimensions units and presenting or…

  1. User

    outshow many independent weird svgs codes with weird dimensions units and presenting or missing viewbox properties randomly for testings.

  2. Assistant

    Certainly! Below are 5 independent SVG code snippets featuring:

    • Weird and uncommon dimension units (like cm, in, pt, pc, mm, %, vh, vw).
    • Randomly missing or present viewBox properties.
    • Some intentionally odd or edge-case values to help with testing.

    Each SVG is standalone and can be saved as .svg files to test rendering behavior.


    1. SVG with width in cm, no viewBox

    <svg width="10cm" height="5cm" xmlns="http://www.w3.org/2000/svg">
      <rect x="0" y="0" width="100" height="50" fill="purple"/>
    </svg>
    

    2. SVG with width and height in in, with a viewBox

    <svg width="2in" height="3in" viewBox="0 0 200 300" xmlns="http://www.w3.org/2000/svg">
      <circle cx="100" cy="150" r="80" fill="orange"/>
    </svg>
    

    3. SVG with dimensions in percentage units, missing viewBox

    <svg width="50%" height="50%" xmlns="http://www.w3.org/2000/svg">
      <ellipse cx="50%" cy="50%" rx="40%" ry="20%" fill="teal"/>
    </svg>
    

    4. SVG with pt and pc units, with viewBox

    <svg width="72pt" height="6pc" viewBox="0 0 72 96" xmlns="http://www.w3.org/2000/svg">
      <polygon points="10,10 60,10 35,80" fill="limegreen"/>
    </svg>
    

    5. SVG with vw and vh dimensions, with a strange viewBox

    <svg width="50vw" height="25vh" viewBox="-50 -50 100 50" xmlns="http://www.w3.org/2000/svg">
      <path d="M-40 0 L0 40 L40 0 L0 -40 Z" fill="pink"/>
    </svg>
    

    If you want more snippets or more extreme weirdness (like fractional pixels, zero or negative dimensions, missing width/height), just let me know!

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.