{"category":"generate","description":"The code is drawn by the same renderer as every other QR tool and then taken apart into groups of dots that fade in one after another. The SVG holds the finished code as its resting picture, so it is never left half drawn.","endpoint":"https://setget.net/v1/tools/qr-animate","examples":[{"input":{"effect":"center","preset":"ocean","text":"https://setget.net"},"title":"From the center outward"},{"input":{"effect":"sparkle","preset":"candy","repeat":"loop","text":"https://setget.net"},"title":"Sparkling in, on a loop"},{"input":{"dot_style":"liquid","duration":3,"effect":"eyes","text":"https://setget.net"},"title":"Eyes first, slowly"}],"input_schema":{"additionalProperties":false,"properties":{"background":{"description":"Color behind the code: hex, a basic name, \"transparent\", or a CSS gradient. Left out: white.","maxLength":200,"type":"string"},"background_image":{"description":"A photo shown behind the code, as a data: URI (up to about 440 KB). The dots are drawn over it so the code still scans.","format":"data-url","maxLength":600000,"type":"string"},"background_image_wash":{"description":"How much the photo is lightened, from 0 to 0.9. Left out: 0.35.","maximum":0.9,"minimum":0,"type":"number"},"corner_radius":{"description":"Rounds the corners of the background, as a fraction of its side.","maximum":0.5,"minimum":0,"type":"number"},"dot_scale":{"description":"Size of each dot within its square, from 0.5 to 1. Thin shapes need more, such as diamond 0.7 and star 0.95 (the error names the least); liquid always fills its square.","maximum":1,"minimum":0.5,"type":"number"},"dot_style":{"description":"Shape of the small squares (modules). Left out: square.","enum":["square","rounded","liquid","dots","diamond","star","vertical","horizontal","leaf","mosaic","plus","hexagon","heart","maze"],"type":"string"},"duration":{"default":1.8,"description":"How long the reveal takes, in seconds.","maximum":6.0,"minimum":0.5,"type":"number"},"effect":{"default":"center","description":"How the code appears: outward from the center, wiped across, sparkling in dot by dot, the three eyes first, or raining down.","enum":["center","wipe","sparkle","eyes","rain"],"type":"string"},"error_correction":{"description":"How much damage the code survives: L about 7%, M 15%, Q 25%, H 30%. Higher levels hold less. Left out: M, or H when there is a logo.","enum":["L","M","Q","H"],"type":"string"},"eye_ball_colour":{"description":"Color of the middle of the eyes. Left out: the eye ring color.","maxLength":200,"type":"string"},"eye_ball_style":{"description":"Shape of the solid middle of the three corner eyes.","enum":["square","rounded","circle","diamond","leaf","octagon"],"type":"string"},"eye_colour":{"description":"Color of the eye rings. Left out: the dot color.","maxLength":200,"type":"string"},"eye_colours":{"description":"A color for each eye, separated by commas, in the order top-left, top-right, bottom-left: for instance \"#b91c1c, #1d4ed8, #15803d\". Plain colors only. An eye left out, or left empty between commas, keeps eye_colour.","maxLength":120,"type":"string"},"eye_frame_style":{"description":"Shape of the outer ring of the three corner eyes.","enum":["square","rounded","extra-rounded","circle","leaf","dotted"],"type":"string"},"foreground":{"description":"Color of the dots: hex such as #000000, a basic color name, or a CSS linear-gradient(...) or radial-gradient(...). Left out: black.","maxLength":200,"type":"string"},"frame":{"description":"A border with a short call to action under (or above) the code.","enum":["none","label","banner","banner-top","rounded"],"type":"string"},"frame_colour":{"description":"Color of the frame. Left out: the dot color.","maxLength":200,"type":"string"},"frame_font":{"description":"Letter style of the frame text.","enum":["sans","mono"],"type":"string"},"frame_text":{"description":"The words in the frame. Left out: SCAN ME.","maxLength":40,"type":"string"},"frame_text_colour":{"description":"Color of the frame text. Left out: whichever of dark or light reads best.","format":"color","maxLength":40,"type":"string"},"logo":{"description":"A picture for the middle of the code, as a data: URI (PNG, JPEG, WebP, GIF or SVG, up to about 290 KB).","format":"data-url","maxLength":400000,"type":"string"},"logo_background":{"description":"Color of the clear area behind the logo. Left out: the background color.","format":"color","maxLength":40,"type":"string"},"logo_colour":{"description":"Color of the center text or symbol. Left out: the eye color.","format":"color","maxLength":40,"type":"string"},"logo_icon":{"description":"A small symbol for the middle of the code in place of a picture.","enum":["heart","star","wifi","phone","mail","link","home","pin","cart","bag","camera","music","calendar","person","globe","lock","gift","cup","bolt","chat","play","info","tag","book"],"type":"string"},"logo_padding":{"description":"Clear space around the logo, in modules. Left out: 1.","maximum":3,"minimum":0,"type":"number"},"logo_shape":{"description":"Shape of the clear area behind the logo. \"none\" leaves the background showing.","enum":["none","square","rounded","circle"],"type":"string"},"logo_size":{"description":"Largest logo width as a fraction of the code, from 0.1 to 0.4. It is made smaller when the code would not scan. Left out: 0.22.","maximum":0.4,"minimum":0.1,"type":"number"},"logo_text":{"description":"One to four characters for the middle of the code in place of a picture, such as initials. Drawn as outlines in the frame font, so they look the same everywhere.","maxLength":12,"type":"string"},"margin":{"default":4,"description":"Blank quiet zone around the code, in modules. Scanners expect at least 4.","maximum":20,"minimum":0,"type":"integer"},"module_size":{"default":8,"description":"Width of one small square (module) in pixels.","maximum":40,"minimum":1,"type":"integer"},"preset":{"description":"A ready-made look. Any style input you set yourself wins over the preset.","enum":["classic","rounded","liquid","dots","ocean","sunset","forest","grape","candy","ink","gold","midnight"],"type":"string"},"repeat":{"default":"once","description":"Play once and stay finished, or start again after showing the finished code for two seconds.","enum":["once","loop"],"type":"string"},"shape":{"description":"Outline of the whole code: square, or a silhouette such as circle or heart. The code itself stays a complete square inside it, behind a clear ring as wide as margin, and matching dots fill the rest of the outline. Left out: square.","enum":["square","circle","squircle","octagon","hexagon","shield","bubble","heart"],"type":"string"},"text":{"description":"The text or link to store in the code.","examples":["https://setget.net"],"maxLength":3000,"type":"string"}},"required":["text"],"type":"object"},"keywords":["animated qr code","qr code animation","animated qr code generator","qr code gif","qr reveal","moving qr code","qr code svg animation","qr code for video","qr code intro"],"related":["qr-generate","qr-export","qr-photo","qr-wifi"],"slug":"qr-animate","summary":"Make a QR code that draws itself: an animated SVG in any style that ends as a complete, scannable code.","tier":"inline","title":"Animated QR code","url":"https://setget.net/tools/qr-animate"}
