[{"data":1,"prerenderedAt":459},["ShallowReactive",2],{"docs-menu":3,"docs-page:\u002Fdocs\u002Fguides\u002Fframes":193},[4,11,108,143],{"title":5,"path":6,"stem":7,"order":8,"summary":9,"exact":10},"Documentation","\u002Fdocs","docs\u002Findex",0,"How to build drawings with Wirepaint's node graph.",true,{"title":12,"order":13,"summary":14,"path":15,"stem":16,"children":17,"page":107,"exact":10},"Guides",1,null,"\u002Fdocs\u002Fguides","docs\u002Fguides",[18,23,29,35,41,47,53,59,65,71,77,83,89,95,101],{"title":19,"path":20,"stem":21,"order":13,"summary":22,"exact":10},"Getting started","\u002Fdocs\u002Fguides\u002Fgetting-started","docs\u002Fguides\u002Fgetting-started","The Playground's areas, and what each one is for.",{"title":24,"path":25,"stem":26,"order":27,"summary":28,"exact":10},"Navigating the editor","\u002Fdocs\u002Fguides\u002Fnavigating-the-editor","docs\u002Fguides\u002Fnavigating-the-editor",2,"Panning, zooming, selecting, moving and deleting in the graph editor.",{"title":30,"path":31,"stem":32,"order":33,"summary":34,"exact":10},"Adding nodes","\u002Fdocs\u002Fguides\u002Fadding-nodes","docs\u002Fguides\u002Fadding-nodes",3,"The add-node menu, its categories and search, and suggested nodes for a dropped link.",{"title":36,"path":37,"stem":38,"order":39,"summary":40,"exact":10},"Connecting pins","\u002Fdocs\u002Fguides\u002Fconnecting-pins","docs\u002Fguides\u002Fconnecting-pins",4,"Drawing wires between pins, replacing and moving them, and which pins fit together.",{"title":42,"path":43,"stem":44,"order":45,"summary":46,"exact":10},"Context menus","\u002Fdocs\u002Fguides\u002Fcontext-menus","docs\u002Fguides\u002Fcontext-menus",5,"The right-click actions for nodes, wires and empty canvas.",{"title":48,"path":49,"stem":50,"order":51,"summary":52,"exact":10},"Property inspector","\u002Fdocs\u002Fguides\u002Fproperty-inspector","docs\u002Fguides\u002Fproperty-inspector",6,"Editing a node's inputs: numbers, switches, text, drop-down lists and object fields.",{"title":54,"path":55,"stem":56,"order":57,"summary":58,"exact":10},"Live preview","\u002Fdocs\u002Fguides\u002Flive-preview","docs\u002Fguides\u002Flive-preview",7,"The drawing's page and its size, what lies outside it, panning and zooming, and downloading the image as SVG.",{"title":60,"path":61,"stem":62,"order":63,"summary":64,"exact":10},"Errors","\u002Fdocs\u002Fguides\u002Ferrors","docs\u002Fguides\u002Ferrors",8,"How the Playground shows a node that fails, and what it means for the drawing.",{"title":66,"path":67,"stem":68,"order":69,"summary":70,"exact":10},"Subgraphs","\u002Fdocs\u002Fguides\u002Fsubgraphs","docs\u002Fguides\u002Fsubgraphs",9,"Create subgraphs, edit their bodies and signatures, and use them as functions for Map, Filter, Reduce and Repeat.",{"title":72,"path":73,"stem":74,"order":75,"summary":76,"exact":10},"Saving and opening","\u002Fdocs\u002Fguides\u002Fsaving-and-opening","docs\u002Fguides\u002Fsaving-and-opening",10,"Keep your work in a file with the File menu, and open it again later.",{"title":78,"path":79,"stem":80,"order":81,"summary":82,"exact":10},"Freezing nodes","\u002Fdocs\u002Fguides\u002Ffreezing-nodes","docs\u002Fguides\u002Ffreezing-nodes",11,"Keep a node's result as it is, whatever happens to its inputs.",{"title":84,"path":85,"stem":86,"order":87,"summary":88,"exact":10},"Text","\u002Fdocs\u002Fguides\u002Ftext","docs\u002Fguides\u002Ftext",12,"Add text to a drawing, pick its font, and place it.",{"title":90,"path":91,"stem":92,"order":93,"summary":94,"exact":10},"Effects","\u002Fdocs\u002Fguides\u002Feffects","docs\u002Fguides\u002Feffects",13,"Shadows, blur, glow, grain, wobbly outlines, color changes, opacity and blend modes on any object.",{"title":96,"path":97,"stem":98,"order":99,"summary":100,"exact":10},"Undo and redo","\u002Fdocs\u002Fguides\u002Fundo-and-redo","docs\u002Fguides\u002Fundo-and-redo",14,"Take back an edit, or put it back, with the Edit menu or Ctrl+Z.",{"title":102,"path":103,"stem":104,"order":105,"summary":106,"exact":10},"Frames","\u002Fdocs\u002Fguides\u002Fframes","docs\u002Fguides\u002Fframes",15,"Draw titled frames around nodes to organize a graph.",false,{"title":109,"order":27,"summary":14,"path":110,"stem":111,"children":112,"page":107,"exact":10},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002Fconcepts",[113,118,123,128,133,138],{"title":114,"path":115,"stem":116,"order":13,"summary":117,"exact":10},"Dataflow and the Output node","\u002Fdocs\u002Fconcepts\u002Fdataflow","docs\u002Fconcepts\u002Fdataflow","How a graph is evaluated, starting from the Output node, and what that means for what you build.",{"title":119,"path":120,"stem":121,"order":27,"summary":122,"exact":10},"Pin types and colors","\u002Fdocs\u002Fconcepts\u002Fpin-types","docs\u002Fconcepts\u002Fpin-types","What a pin's type says, which wires fit, and how colors and handle shapes show it.",{"title":124,"path":125,"stem":126,"order":33,"summary":127,"exact":10},"Generic pins","\u002Fdocs\u002Fconcepts\u002Fgeneric-pins","docs\u002Fconcepts\u002Fgeneric-pins","Pins whose type is set by what you connect, such as the T of the array nodes.",{"title":129,"path":130,"stem":131,"order":39,"summary":132,"exact":10},"Units and coordinates","\u002Fdocs\u002Fconcepts\u002Funits-and-coordinates","docs\u002Fconcepts\u002Funits-and-coordinates","Page coordinates, angles in radians, local and page positions, and the ranges of t, colors and lerps.",{"title":134,"path":135,"stem":136,"order":45,"summary":137,"exact":10},"Determinism and random","\u002Fdocs\u002Fconcepts\u002Fdeterminism","docs\u002Fconcepts\u002Fdeterminism","Why a graph always draws the same thing, how the random nodes fit in, and how to reroll them with seeds.",{"title":139,"path":140,"stem":141,"order":51,"summary":142,"exact":10},"Subgraphs and functions","\u002Fdocs\u002Fconcepts\u002Fsubgraphs","docs\u002Fconcepts\u002Fsubgraphs","Functions are graphs of their own, used as nodes or passed to Map, Filter, Reduce and Repeat.",{"title":144,"order":33,"summary":14,"path":145,"stem":146,"children":147,"page":107,"exact":10},"Examples","\u002Fdocs\u002Fexamples","docs\u002Fexamples",[148,153,158,163,168,173,178,183,188],{"title":149,"path":150,"stem":151,"order":13,"summary":152,"exact":10},"Blending two circles","\u002Fdocs\u002Fexamples\u002Fblending-circles","docs\u002Fexamples\u002Fblending-circles","A row of circles that grows and changes color, from two circles and Lerp.",{"title":154,"path":155,"stem":156,"order":27,"summary":157,"exact":10},"A whirl of squares","\u002Fdocs\u002Fexamples\u002Fwhirl-of-squares","docs\u002Fexamples\u002Fwhirl-of-squares","Squares that turn and shrink one step at a time, with Rotate and Scale.",{"title":159,"path":160,"stem":161,"order":33,"summary":162,"exact":10},"A hexagram from a circle","\u002Fdocs\u002Fexamples\u002Fhexagram","docs\u002Fexamples\u002Fhexagram","Two triangles made from points sampled on a circle, with Sample, Make Polygon and Rotate.",{"title":164,"path":165,"stem":166,"order":39,"summary":167,"exact":10},"Triangles on a grid","\u002Fdocs\u002Fexamples\u002Ftriangles-on-a-grid","docs\u002Fexamples\u002Ftriangles-on-a-grid","A triangle at every point of a grid, each turned a little more, with Orthogonal Grid, Map and a function made with New function…",{"title":169,"path":170,"stem":171,"order":45,"summary":172,"exact":10},"A glowing ball in a gradient frame","\u002Fdocs\u002Fexamples\u002Fgradients","docs\u002Fexamples\u002Fgradients","A ball filled with a radial gradient inside a square with a linear gradient outline, both from the same two color stops.",{"title":174,"path":175,"stem":176,"order":51,"summary":177,"exact":10},"Voronoi tessellation","\u002Fdocs\u002Fexamples\u002Fvoronoi","docs\u002Fexamples\u002Fvoronoi","Organic cell patterns from random points, evened out with Relax Points, and drawn with gaps using Scale and Map.",{"title":179,"path":180,"stem":181,"order":57,"summary":182,"exact":10},"Paper cut-out","\u002Fdocs\u002Fexamples\u002Fpaper-cut-out","docs\u002Fexamples\u002Fpaper-cut-out","Layered paper hills and a sun with wobbly edges, grain and soft shadows, made with the Displace, Noise and Drop Shadow effect nodes.",{"title":184,"path":185,"stem":186,"order":63,"summary":187,"exact":10},"Sierpinski triangle","\u002Fdocs\u002Fexamples\u002Fsierpinski-triangle","docs\u002Fexamples\u002Fsierpinski-triangle","A triangle made of three half-size triangles, each made the same way: a subgraph that calls itself, stopped by a Switch.",{"title":189,"path":190,"stem":191,"order":69,"summary":192,"exact":10},"Metaballs and contour lines","\u002Fdocs\u002Fexamples\u002Fmetaballs","docs\u002Fexamples\u002Fmetaballs","Gooey blobs from charges on a jittered grid, ringed by contour lines, with Zip Point Scalars, Metaballs and Isolines.",{"id":194,"title":102,"body":195,"description":201,"extension":455,"meta":456,"navigation":10,"order":105,"path":103,"seo":457,"stem":104,"summary":106,"__hash__":458},"docs\u002Fdocs\u002Fguides\u002Fframes.md",{"type":196,"value":197,"toc":442},"minimark",[198,202,211,216,236,239,243,261,265,272,276,283,286,290,313,316,320,323,349,352,356,367,395,399,409,413,424,427,431],[199,200,201],"p",{},"A frame is a titled box drawn around a group of nodes, behind them and\ntheir wires. Use frames to label the parts of a large graph, such as \"Sky\"\nor \"Background\", and to move each part as a whole.",[199,203,204,205,210],{},"Frames only organize the editor: they never change what the graph\ncomputes or draws. (To group shapes in the drawing, use the\n",[206,207,209],"a",{"href":208},"\u002Fdocs\u002Fnodes\u002Fcore\u002Fgroup","Group"," node.)",[212,213,215],"h2",{"id":214},"making-a-frame","Making a frame",[199,217,218,219,223,224,227,228,231,232,235],{},"Select the nodes, then press ",[220,221,222],"strong",{},"Ctrl+G"," (",[220,225,226],{},"⌘G"," on macOS), or right-click\none of them and choose ",[220,229,230],{},"Frame selection",". A frame titled \"Frame\" appears\naround them, with its title ready to edit: type a title and press\n",[220,233,234],{},"Enter",".",[199,237,238],{},"A frame fits itself around its nodes, with some space around them, and\ngrows or shrinks as they move or change size.",[212,240,242],{"id":241},"renaming","Renaming",[199,244,245,246,249,250,253,254,256,257,260],{},"Double-click a frame's title, or right-click its title bar and choose\n",[220,247,248],{},"Rename"," (also ",[220,251,252],{},"F2"," with only the frame selected). ",[220,255,234],{}," or\nclicking elsewhere keeps the new title; ",[220,258,259],{},"Escape"," cancels. An empty title\ngives \"Frame\" back.",[212,262,264],{"id":263},"colors","Colors",[199,266,267,268,271],{},"Right-click a frame's title bar and choose a color under ",[220,269,270],{},"Color",": a\nneutral default, red, orange, yellow, green, teal, blue, purple or pink.\nThe current one is checked. Colors make the parts of a graph easier to\ntell apart at a glance, and every color keeps the title easy to read.",[212,273,275],{"id":274},"selecting-and-moving","Selecting and moving",[199,277,278,279,282],{},"Click a frame's title bar to select it (",[220,280,281],{},"Shift","+click adds it to the\nselection). Drag the title bar to move the frame with every node in it.",[199,284,285],{},"Only the title bar belongs to the frame: the rest of it lets clicks\nthrough, so you can pan, click empty canvas or draw a selection box over a\nframe as anywhere else.",[212,287,289],{"id":288},"adding-and-removing-nodes","Adding and removing nodes",[291,292,293,300,306],"ul",{},[294,295,296,299],"li",{},[220,297,298],{},"Drag a node into a frame"," to add it: drop it with the pointer over\nthe frame. While you drag, the frames stay as they were, so you can see\nwhere it will go.",[294,301,302,305],{},[220,303,304],{},"Drag a node out"," and drop it outside every frame to take it out.",[294,307,308,309,312],{},"Right-click nodes and choose ",[220,310,311],{},"Remove from frame"," to take them out\nwithout moving them.",[199,314,315],{},"Dragging nodes moves only them: to move a whole frame, drag its title\nbar. A frame left without nodes goes away.",[212,317,319],{"id":318},"frames-inside-frames","Frames inside frames",[199,321,322],{},"Frames can hold other frames, for sections inside sections:",[291,324,325,340],{},[294,326,327,330,331,333,334,336,337,339],{},[220,328,329],{},"Select frames"," (click their title bars, ",[220,332,281],{},"+click for more,\nwith nodes too if you like) and press ",[220,335,222],{}," to put them in a new\nframe around them. ",[220,338,230],{}," in a frame's context menu does\nthe same.",[294,341,342,345,346,348],{},[220,343,344],{},"Drag a frame by its title bar onto another"," to put it inside; drop it\noutside every frame to take it out. ",[220,347,311],{}," in a frame's\ncontext menu takes it out without moving it. A frame can't go inside\nitself or one of the frames inside it.",[199,350,351],{},"A frame fits around the frames inside it and is drawn behind them.\nDragging it moves everything inside, and deleting it keeps the frames\nand nodes inside it, one level up.",[212,353,355],{"id":354},"collapsing","Collapsing",[199,357,358,359,362,363,366],{},"Click the arrow at the left of a frame's title bar, or choose ",[220,360,361],{},"Collapse\nframe"," in its context menu, to fold the frame to its title bar: the nodes\nand frames inside it are hidden, which saves space while you work on the\nrest of the graph. Click the arrow again, or choose ",[220,364,365],{},"Expand frame",", to\nshow them.",[291,368,369,372,375,378,389],{},[294,370,371],{},"Wires between the hidden nodes and the rest of the graph stay visible:\neach ends on its own small stub on the title bar, inputs on the left and\noutputs on the right. Wires between the hidden nodes are hidden too.",[294,373,374],{},"Collapsing a frame changes nothing in the drawing.",[294,376,377],{},"Collapsing a frame hides the frames inside it; expanding it shows them\nas they were, collapsed or not.",[294,379,380,381,384,385,388],{},"Hidden nodes can't be selected, so ",[220,382,383],{},"Select all",", a selection box or\n",[220,386,387],{},"Delete"," never touch them. To change them, expand the frame first.\nNothing can be dropped into a collapsed frame either.",[294,390,391,392,235],{},"Whether a frame is collapsed is saved with the drawing, and collapsing\nand expanding can be ",[206,393,394],{"href":97},"undone",[212,396,398],{"id":397},"deleting","Deleting",[199,400,401,402,404,405,408],{},"Select a frame and press ",[220,403,387],{},", or right-click its title bar and\nchoose ",[220,406,407],{},"Delete frame",". Its nodes stay where they are.",[212,410,412],{"id":411},"saved-with-the-drawing","Saved with the drawing",[199,414,415,416,419,420,423],{},"Frames are saved in the drawing's file, each graph with its own: frames\nwork inside ",[206,417,418],{"href":67},"subgraphs"," too. Every frame action is\none ",[206,421,422],{"href":97},"undo"," step, such as \"Frame selection\",\n\"Frame color\" or \"Move frame\".",[199,425,426],{},"Duplicating, copying and pasting nodes, or moving them into a new\nsubgraph, doesn't copy their frames: the new nodes are outside any frame.",[212,428,430],{"id":429},"see-also","See also",[291,432,433,438],{},[294,434,435,437],{},[206,436,24],{"href":25},", for\nselecting and moving nodes.",[294,439,440,235],{},[206,441,42],{"href":43},{"title":443,"searchDepth":27,"depth":27,"links":444},"",[445,446,447,448,449,450,451,452,453,454],{"id":214,"depth":27,"text":215},{"id":241,"depth":27,"text":242},{"id":263,"depth":27,"text":264},{"id":274,"depth":27,"text":275},{"id":288,"depth":27,"text":289},{"id":318,"depth":27,"text":319},{"id":354,"depth":27,"text":355},{"id":397,"depth":27,"text":398},{"id":411,"depth":27,"text":412},{"id":429,"depth":27,"text":430},"md",{},{"title":102,"description":201},"M925feLtFT__3QjEQQMjQ8-1SI10cATAOsa7HYoLWdM",1795082914398]