flydraw(1)
π flydraw(1) π
okay so welcome to flydraw(1), bestie β this is the manual for an inline drawing tool, and by the end of this page you're gonna be drawing circles, plotting curves and feeling like a whole main character. no cap. β¨
πΈ NAME πΈ
flydraw β an inline drawing tool π¨
β¨ SYNOPSIS β¨
flydraw
π¦ DESCRIPTION π¦
So flydraw is an inline drawing tool, and it uses libgd to output PNG, JPG and GIF files. iconic behaviour honestly. π
It parses its standard input for drawing commands, and every single command takes exactly one line. that's the whole vibe β feed it lines, get art. π
π¨ DRAWING COMMANDS π¨
heads up before we dive in: in all of the lines below, [color] can be either a color name, or 3 integers between 0 and 255 separated by commas, giving the values of red, green, blue. choose your fighter. π
animate fra,del,repβ this one is only available for WIMS OEF and doc, and it MUST appear on the very first line. it sets up animation forfraframes, withdelseconds between frames, andreprepetitions (rep=0means infinite repetition). forever and ever and ever. πanimstep nβ sets up an integer that can be called in any evaluation. used for animation. > direct use of this command must be avoided under WIMS, so pls don't be that girl. πarc x,y,w,h,a1,a2,[color]β an arc segment of an ellipse of widthwand highthcentered at (x,y), from anglea1to anglea2. yes it says "hight", we love her anyway. π«Άarrow x1,y1,x2,y2,l,[color]β an arrow (x1,y1)--->(x2,y2), wherelis the length (in pixels) of the arrowhead. pointing, slaying, all of it. β‘οΈcircle x,y,d,[color]β a circle with center (x,y) and diameterd(in pixels). βcommentβ does nothing. literally nothing. a true icon of doing the absolute least. πcopy x,y,x1,y1,x2,y2,[filename]β (synonym:insert) inserts the region from (x1,y1) to (x2,y2) (in pixels) of[filename]to (x,y). ifx1=y1=x2=y2=-1, the whole[filename]is copied. πcopyresized x1,y1,x2,y2,dx1,dy1,dx2,dy2,[filename]β inserts the region from (x1,y1) to (x2,y2) (in pixels) of[filename], possibly resized, to the region of (dx1,dy1) to (dx2,dy2). ifx1=y1=x2=y2=-1, the whole[filename]is copied and resized. glow up included. β¨darrow x1,y1,x2,y2,l,[color]β (synonym:dasharrowdashedarrow) a dashed arrow (x1,y1)- - ->(x2,y2), wherelis the length (in pixels) of the arrowhead. the dashes are the fit. πdhline x,y,[color]β (synonym:dashedhorizontallinedashhorizontallinehdlinehorizontaldashedline) a dashed horizontal line through (x,y). βdline x1,y1,x2,y2,[color]β (synonym:dashedlinedashline) a dashed line segment (x1,y1)---(x2,y2). βοΈdlines [color],x1,y1,x2,y2,x3,y3...β (synonym:dashedlinesdashlines)ndashed line segments (x1,y1)---(x2,y2)---(x3,y3)... so many dashes, so little time. πdvline x,y,[color]β (synonym:dashedverticalinedashverticallinevdlineverticaldashedline) a dashed vertical line through (x,y). πͺ‘ellipse x,y,w,h,[color]β an ellipse with center (x,y), widthwand heighth. squished circle, still gorgeous. πfcircle x,y,d,[color]β (synonym:balldiskfilledcircle) a filled circle with center (x,y) and diameterd(in pixels). solid. πfellipse x,y,w,h,[color]β (synonym:filledellipse) a filled ellipse with center (x,y), widthwand heighth. π§fill x,y,[color]β (synonym:floodfloodfill) flood fills the region containing (x,y) with the same original color, by color. πͺ£filltoborder x,y,[color1],[color2]β flood fills bycolor2the region containing (x,y) and bounded bycolor1. staying in your lane, literally. π§fpoly [color],x1,y1,x2,y2,x3,y3...β (synonym:filledpolyfilledpolygonfpolygon) a filled polygon (x1,y1)-(x2,y2)-(x3,y3)... πΊfrect x1,y1,x2,y2,[color]β (synonym:filledrectfillecrectanglefrectangle) a filled rectangle with corners (x1,y1) and (x2,y2). π²fsquare x,y,s,[color]β (synonym:filledsquare) a filled square with sidess(in pixels) and first corner at (x,y). βΌοΈftriangle x1,y1,x2,y2,x3,y3,[color]β (synonym:filledtriangle) a filled triangle with vertices (x1,y1),(x2,y2),(x3,y3). π»hline x,y,[color]β (synonym:horizontalline) a horizontal line through (x,y). βinterlaceβ sets an interlaced image. old-school cool, ngl. πΊkillbrushβ turns off brush selection for line drawing. bye bestie πkilltileβ turns off tile selection for filling. also bye πlattice x0,y0,x1,y1,x2,y2,n1,n2,[color]β a lattice ofn1xn2points starting with (x0,y0), withn1rows in the direction of (x1,y1) andn2rows in the direction of (x2,y2). the way it grids... πΈοΈline x1,y1,x2,y2,[color]β (synonym:segsegment) a line segment (x1,y1)---(x2,y2). βοΈlines [color],x1,y1,x2,y2,x3,y3...βnline segments (x1,y1)---(x2,y2)---(x3,y3)... πlinewidth wβ sets the line width tow(in pixels) for line drawing. thick. juicy. π₯new x,yβ sets a new image of sizex,y. blank canvas era. πΌοΈoutput [filename]β outputs the current image to[filename]. the moment of reveal. πparallel x1,y1,x2,y2,xv,yv,n,[color]βnparallel lines starting from (x1,y1)---(x2,y2), with displacement (xv,yv). they're all matching, it's a coordinated group chat fit. πpixels [color],x1,y1,x2,y2,...β points (all of diameter 1) at (x1,y1), (x2,y2), ... βͺplot [color],[formula]β (synonym:curve) plots a curve according to[formula], which can be either an explicit function ofx, or a pair of parametric functions int. math girlies rise πplotjump jβ the plotted curve will jump if two consecutive points have a distance of more thanjpixels. super useful to avoid plotting discontinuous functions as continuous. default value:200. π βοΈplotstep nβ (synonym:plotstepststeptsteps) sets the number of point computations in curve plot. defaults to100. π’point x,y,[color]β a (fat) point at (x,y), whose diameter is equal tolinewidth.points [color],x1,y1,x2,y2,...β (fat) points at (x1,y1), (x2,y2), ..., whose diameters are equal tolinewidth. β«poly [color],x1,y1,x2,y2,x3,y3...β (synonym:polygon) a polygon (x1,y1)-(x2,y2)-(x3,y3)... πrange x1,x2,y1,y2β sets the drawing range to[x1,x2]horizontally and[y1,y2]vertically. note that by default, the horizontal range is[0,xsize-1]and the vertical range is[ysize-1,0]. know your limits πrays [color],x0,y0,x1,y1,x2,y2...β line segments (x0,y0)---(x1,y1), (x0,y0)---(x2,y2), ... all radiating from one point. main character energy fr. βοΈrect x1,y1,x2,y2,[color]β (synonym:rectangle) a rectangle with corners (x1,y1) and (x2,y2). π³setbrush [filename]β uses the image[filename]as a brush for all line draws. ποΈsetpixel x,y,[color]β a point (of diameter 1 pixel) at (x,y). tiny but mighty. β¨setstyle [color1],[color2],...β sets the line style tocolor1,color2,... πsettile [filename]β uses the image[filename]as a tile for all filling commands. π§±size x,yβ sets the image size toxpixels horizontally andypixels vertically. πsquare x,y,s,[color]β a square with sidess(in pixels) and first corner at (x,y). β¬text [color],x,y,[font],[string]β (synonym:printstringwrite) writes the string at (x,y), withfont=small,medium,largeorgiant. the range of sizes, we love options. π€textup [color],x,y,[font],[string]β (synonym:stringupwriteup) writes the string upwards at (x,y), withfont=small,medium,largeorgiant. vertical text, very editorial. βοΈtrange t1,t2β (synonym:ranget) sets thetrange to[t1,t2]for parametric curve plotting. defaults to[0,1]. πtransparent [color]β makes[color]a transparent color. ghost mode activated π»triangle x1,y1,x2,y2,x3,y3,[color]β a triangle with vertices (x1,y1),(x2,y2),(x3,y3). πΊvline x,y,[color]β (synonym:verticalline) a vertical line through (x,y). πͺxrange x1,x2β (synonym:rangex) sets the horizontal drawing range to[x1,x2]. defaults to[0,xsize-1]. βοΈyrange y1,y2β (synonym:rangey) sets the horizontal drawing range to[y1,y2]. defaults to[ysize-1,0]. yes bestie, the original says "horizontal" here even though it's theyone β we're just reporting the lore exactly as it was written. π
π AUTHORS π
Flydraw was completely rewritten to replace a public domain program called Fly by XIAO Gang from the University of Nice (France) in April 2000. a total glow-up, honestly. π¦
and that's the whole page, bestie π«Ά this was version 1.0, dated 16 June 2002 β yeah, she's vintage, she's iconic, she still slays. go draw something gorgeous with her. ππβ¨
π¦ where this page comes from
- debian trixie: flydraw 2:4.29a+dfsg1-3 Β· GPL-3.0-only
- ubuntu noble: flydraw 2:4.27b+dfsg1-2 Β· GPL-3.0-only
- ubuntu questing: flydraw 2:4.30+dfsg1-1
- ubuntu resolute: flydraw 2:4.31+dfsg1-2 Β· GPL-3.0-only
- ubuntu stonking: flydraw 3:4.31b+dfsg1-5 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms