h&UJu      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ Safe-Inferred  "80  Safe-Inferred(; codeworld-apiAn infinite list of colors.&    Safe-InferredE codeworld-api"(AffineTransformation a b c d e f)+ represents an affine transformation matrix a c e b d f 0 0 1 References:  https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/transform https://en.wikipedia.org/wiki/Transformation_matrix#Affine_transformations codeworld-apiA , if already chosen.  Safe-Inferred"  Safe-Inferred";4) codeworld-apiPlain letters with no style* codeworld-api(Heavy, thick lettering used for emphasis+ codeworld-api/Slanted script-like lettering used for emphasis, codeworld-apiA design, diagram, or drawing that can be displayed and seen. In technical terms, a picture is an assignment of a color to every point of the coordinate plane. CodeWorld contains functions to create pictures from simple geometry primitives, to transform existing pictures, and to combine simpler pictures into more complex compositions.Ultimately, a picture can be drawn on the screen using one of the CodeWorld entry points such as  drawingOf.- codeworld-apiA two-dimensional vector. codeworld-apiA point in two dimensions. A point is written with the x coordinate first, and the y coordinate second. For example, (3, -2) is the point with x coordinate 3 a y coordinate -2./ codeworld-api,Moves a given point by given x and y offsetstranslatedPoint 1 2 (10, 10) (11.0, 12.0) translatedPoint (-1) (-2) (0, 0) (-1.0, -2.0)0 codeworld-api0Rotates a given point by given angle, in radiansrotatedPoint 45 (10, 0)(7.071, 7.071)1 codeworld-apiReflects a given point across a line through the origin at this angle, in radians. For example, an angle of 0 reflects the point vertically across the x axis, while an angle of pi / 24 reflects the point horizontally across the y axis.2 codeworld-apiScales a given point by given x and y scaling factor. Scaling by a negative factor also reflects across that axis.scaledPoint 2 3 (10, 10)(20, 30)3 codeworld-apiDilates a given point by given uniform scaling factor. Dilating by a negative factor also reflects across the origin.dilatedPoint 2 (10, 10)(20, 20)4 codeworld-apiThe length of the given vector.vectorLength (10, 10)14.145 codeworld-apiThe counter-clockwise angle, in radians, that a given vector make with the X-axisvectorDirection (1,0)0.0vectorDirection (1,1)0.7853981633974483vectorDirection (0,1)1.57079632679489666 codeworld-apiThe sum of two vectors7 codeworld-apiThe difference of two vectors8 codeworld-api3Scales a given vector by a given scalar multiplier.scaledPoint 2 (10, 10)(20, 20)9 codeworld-api2Rotates a given vector by a given angle in radiansrotatedVector pi (1.0, 0.0)(-1.0, 1.2246467991473532e-16)!rotatedVector (pi / 2) (1.0, 0.0)(6.123233995736766e-17, 1.0): codeworld-apiThe dot product of two vectors; codeworld-apiA blank picture< codeworld-apiA thin sequence of line segments, with these points as endpoints= codeworld-apiA thick sequence of line segments, with given line width and endpoints> codeworld-api,A thin polygon with these points as vertices? codeworld-apiA thick polygon with this line width and these points as vertices@ codeworld-api-A solid polygon with these points as verticesA codeworld-api,A smooth curve passing through these points.B codeworld-apiA thick smooth curve with this line width, passing through these points.C codeworld-api3A smooth closed curve passing through these points.D codeworld-apiA thick smooth closed curve with this line width, passing through these points.E codeworld-api9A solid smooth closed curve passing through these points.F codeworld-api,A thin rectangle, with this width and heightG codeworld-api-A solid rectangle, with this width and heightH codeworld-api=A thick rectangle, with this line width, and width and heightI codeworld-apiA thin circle, with this radiusJ codeworld-api/A thick circle, with this line width and radiusK codeworld-apiA thin arc, starting and ending at these angles, with this radiusAngles are in radians.L codeworld-apiA thick arc with this line width, starting and ending at these angles, with this radius.Angles are in radians.M codeworld-api A solid circle, with this radiusN codeworld-apiA solid sector of a circle (i.e., a pie slice) starting and ending at these angles, with this radiusAngles are in radians.O codeworld-apiA rendering of text characters.P codeworld-apiA rendering of text characters onto a Picture, with a specific choice of font and style.Q codeworld-api'A picture drawn entirely in this color.R codeworld-api(A picture drawn entirely in this colour.S codeworld-api/A picture drawn translated in these directions.T codeworld-apiA picture scaled by these factors in the x and y directions. Scaling by a negative factoralso reflects across that axis.U codeworld-apiA picture scaled uniformly in all directions by this scale factor. Dilating by a negative factor also reflects across the origin.V codeworld-api1A picture rotated by this angle about the origin.Angles are in radians.W codeworld-apiA picture reflected across a line through the origin at this angle, in radians. For example, an angle of 0 reflects the picture vertically across the x axis, while an angle of pi / 26 reflects the picture horizontally across the y axis.X codeworld-apiA picture clipped to a rectangle around the origin with this width and height.Z codeworld-apiBinary composition of pictures.[ codeworld-apiA coordinate plane. Adding this to your pictures can help you measure distances more accurately. Example:  main = drawingOf (myPicture <> coordinatePlane) myPicture = ... \ codeworld-apiThe CodeWorld logo.] codeworld-apiAn image from a standard image format. The image can be any universally supported format, including SVG, PNG, JPG, etc. SVG should be preferred, as it behaves better with transformations.] codeworld-api(Name for the picture, used for debugging codeworld-api"Data-scheme URI for the image data codeworld-api Width, in CodeWorld screen units codeworld-api!Height, in CodeWorld screen units!'&%$#"(+*),-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]Z0 Safe-Inferred":^_`abcdefghijklmnopqrstuvwxyz{|}~:^_`abcdefghijklmnopqrstuvwxyz{|}~ Safe-Inferred]]  Safe-Inferred" codeworld-apiAn event initiated by the user.Values of this type represent events that the user triggers when using an interactive program.Key events describe the key as . Most keys are represented by a single character text string, with the capital letter or other symbol from the key. Keys that don't correspond to a single character use longer names from the following list. Keep in mind that not all of these keys appear on all keyboards..Up, Down, Left, and Right for the cursor keys.F1, F2, etc. for function keys. BackspaceTabEnterShiftCtrlAltEscPageUpPageDownEndHomeInsertDeleteCapsLockNumLock ScrollLock PrintScreenBreak SeparatorCancelHelp Safe-Inferred "%&15;(b  codeworld-api;Type class for the builder monad of a CodeWorld/Reflex app. codeworld-apiGets an Event of key presses. The event value is a logical key name. codeworld-apiGets an Event of key presses. The event value is a logical key name. codeworld-apiGets an Event of text entered. The event value is the typed text. codeworld-apiGets an event of pointer clicks. The event value is the location of the click. codeworld-api)Gets the Dynamic position of the pointer. codeworld-api:Gets a Dynamic indicator whether the pointer is held down. codeworld-api-Gets an Event indicating the passage of time. codeworld-api8Emits a given Dynamic picture to be drawn to the screen. codeworld-apiApplies the affine transformation from the DrawState and prepares to draw with it. This does not set the color at the same time, because different pictures need to apply the color, if any, in different ways, often outside of the action that sets up the geometry. codeworld-apiA slower way to draw a picture, which has some useful properties. It can draw images in non-standard colors, and apply transparent colors properly to overlapping compositions of basic shapes. There must be a color in the DrawState. codeworld-api#Handle the event channel used with runTriggerEventT. Safe-Inferred%&* codeworld-api)Runs a reactive program, discharging the  constraint. This is the starting point for Reflex programs in CodeWorld. codeworld-api A variant of  that includes some on-screen debugging controls. You can use this during development, but should usually switch back to  when you're done debugging.  !"#$%&'()*+,-./023456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\,;<=>?@ABCDEFGHIMJKNLO()*+!"#$%&'PQRSTUVWXYZ[\./023-456789:   Safe-Inferred %&)*8;b codeworld-api7Runs an interactive CodeWorld program that responds to s. Activities can interact with the user, change over time, and remember information about the past.Example: a program which draws a circle and changes its radius when user presses Up or Down keys on her keyboard  {-# LANGUAGE OverloadedStrings #-} import CodeWorld main = activityOf initialRadius updateRadius circle where initialRadius = 1 updateRadius event radius = case event of KeyPress Up# -> radius + 1 KeyPress Down2 -> radius - 1 _ -> radius  codeworld-apiDraws a ,-. This is the simplest CodeWorld entry point.Example: a program which draws a circle of radius 1 in the middle of canvas main = drawingOf $ circle 1  codeworld-apiShows an animation, with a picture for each time given by the parameter.Example: a program showing a square which rotates once every two seconds main = animationOf rotatingSquare rotatingSquare :: Double -> Picture rotatingSquare seconds = rotated angle square where square = rectangle 2 2 angle = pi * seconds  codeworld-api A version of  which runs an interactive CodeWorld program in debugging mode. In this mode, the program gets controls to pause and manipulate time, and even go back in time to look at past states. codeworld-apiRuns an interactive multi-user CodeWorld program that is joined by several participants over the internet.-Example: a skeleton of a game for two players {-# LANGUAGE StaticPointers, OverloadedStrings #-} import CodeWorld main = groupActivityOf 2 init step view where init = static (\gen -> {- initialize state of the game world, possibly using random number generator -}) step = static (\playerNumber event world -> {- modify world based on event occuring for given player -}) view = static (\playerNumber world -> {- generate a picture that will be shown to given player in the given state of the world-})  codeworld-api A version of  that avoids static pointers, and does not check for consistency. codeworld-apiPrints a debug message to the CodeWorld console when a value is forced. This is equivalent to the similarly named function in , except that it sets appropriate buffering to use the CodeWorld console. codeworld-api"The initial state of the activity. codeworld-apiThe event handling function, which updates the state given an event. codeworld-apiThe visualization function, which converts the state into a picture to display. codeworld-api"The picture to show on the screen. codeworld-apiA function that produces animation frames, given the time in seconds. codeworld-api%The initial state of the interaction. codeworld-apiThe event handling function, which updates the state given an event. codeworld-apiThe visualization function, which converts the state into a picture to display. codeworld-apiThe number of participants to expect. The participants will be numbered starting at 0. codeworld-api6The function to create initial state of the activity. 2 parameter can be used to generate random numbers. codeworld-apiThe event handling function, which updates the state given a participant number and user interface event. codeworld-apiThe visualization function, which converts a participant number and the state into a picture to display. codeworld-apiThe number of participants to expect. The participants will be numbered starting at 0. codeworld-api"The initial state of the activity. codeworld-apiThe event handling function, which updates the state given a participant number and user interface event. codeworld-apiThe visualization function, which converts a participant number and the state into a picture to display. Safe-Inferred "()*1> codeworld-apiThe UI state, indexed by the  codeworld-api-Possible steps taken from a given setup phase codeworld-apiThe enumeration type contains all the high-level states that the game UI can be in. It is used as a type-index to 9 to ensure that the UI state matches the abstract state.The possible UI-triggered transitions of this state are described by . codeworld-api*Handling a UI event. May change the phase. Safe-Inferred>R  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\,()*+!"#$%&';<=>?@ABCDEFGHIMJKNLOPQRSTUVWXYZ[\./0123-456789:   Safe-Inferred")*I codeworld-apiThe state of a framedParam, which includes the original parameter, its location, whether it's open (expanded) or not, and the anchor if it is currently being dragged. codeworld-apiThe source for a parameter that can be adjusted in a parametric drawing. Parameters can get their values from sliders, buttons, counters, timers, etc. codeworld-apiBounds information for a parameter UI. The fields are the left and top coordinate, then the width and height. codeworld-apiA drawing that depends on parameters. The first argument is a list of parameters. The second is a picture, which depends on the values of those parameters. Each number used to retrieve the picture is the value of the corresponding parameter in the first list. codeworld-apiWraps a list of parameters in frames to lay them out on the screen. codeworld-apiFinds the first element of a list that matches the predicate, if any, and removes it from the list, returning it separately from the remaining elements. codeworld-apiDetermines if a point is inside the screen area for a given parameter. codeworld-api*Builds a parameter from an explicit state. codeworld-apiAdjusts the output of a parameter by passing it through a conversion function. Built-in parameters usually range from 0 to 1, and conversions can be used to rescale the output to a different range. codeworld-api*Changes the name of an existing parameter. codeworld-apiA 0 with a constant value, and no way to change it. codeworld-api Builder for * types that are clickable and 5x1 in size. codeworld-apiA 0 that can be toggled between 0 (off) and 1 (on). codeworld-apiA 0 that counts how many times it has been clicked. codeworld-apiA 3 that can be adjusted continuously between 0 and 1. codeworld-apiA  that has a randomly chosen value. It offers a button to regenerate its value. codeworld-apiA 3 that changes over time. It can be paused or reset. codeworld-apiA  that tracks the current hour, in local time. The hour is on a scale from 0 (meaning midnight) to 23 (meaning 11:00 pm). codeworld-apiA  that tracks the current minute, in local time. It ranges from 0 to 59. codeworld-apiA  that tracks the current second, in local time. It ranges from 0.0 up to (but not including) 60.0. This includes fractions of a second. If that's not what you want, you can use withConversion to truncate the number.   Safe-Inferred*J Safe-Inferred*JM             ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q rstuvwxyz{|}~        `                                                          *codeworld-api-0.8.1-HdmlKTOpLbLBf0MFLGM8bhCodeWorld.Reflex CodeWorldCodeWorld.ImageCodeWorld.SketchesCodeWorld.ParameterCodeWorld.App2 CodeWorld.AppCodeWorld.CanvasMCodeWorld.ColorCodeWorld.DrawStateUtil.EmbedAsUrlCodeWorld.PictureCodeWorld.EventCodeWorld.DriverCodeWorld.EntryPointsDebugTraceCodeWorld.CollaborationUIbaseGHC.Base<>ColourColorRGBAHSLRGBmixedlighterlightdarkerdarkbrighterbrightdullerdull translucentassortedColorshue saturation luminosityalphawhiteblackgraygreyredorangeyellowgreenbluepurplepinkbrownFont SansSerifSerif Monospace HandwritingFancy NamedFont TextStylePlainBoldItalicPictureVectorPointtranslatedPoint rotatedPointreflectedPoint scaledPoint dilatedPoint vectorLengthvectorDirection vectorSumvectorDifference scaledVector rotatedVector dotProductblankpolyline thickPolylinepolygon thickPolygon solidPolygoncurve thickCurve closedCurvethickClosedCurvesolidClosedCurve rectanglesolidRectanglethickRectanglecircle thickCirclearcthickArc solidCirclesector letteringstyledLetteringcoloredcoloured translatedscaleddilatedrotated reflectedclippedpictures&coordinatePlane codeWorldLogoimagesketchedAirplane sketchedClock sketchedAlien sketchedApplesketchedAstronaut sketchedBabysketchedBalloon sketchedBall sketchedBell sketchedBird sketchedBoat sketchedBook sketchedBoysketchedBubble sketchedBug sketchedCarsketchedChatBubble sketchedChest sketchedCloud sketchedCoin sketchedDogsketchedDragonsketchedExplosion sketchedFish sketchedFlag sketchedFlamesketchedFlower sketchedGear sketchedGhost sketchedGirl sketchedGrass sketchedHeartsketchedHotAirBalloon sketchedHouse sketchedJewel sketchedKey sketchedCatsketchedLightBulbsketchedLightningsketchedMonster sketchedMoon sketchedNotesketchedPawnBlacksketchedPawnBluesketchedPawnGreensketchedPawnRedsketchedPawnWhitesketchedRaindrop sketchedRobotsketchedRocketsketchedScroll sketchedSignsketchedSparkle sketchedStar sketchedSunsketchedThoughtBubble sketchedBlock sketchedTreeEventKeyPress KeyRelease PointerPressPointerReleasePointerMovement TextEntry TimePassingReflexCodeWorld getKeyPress getKeyRelease getTextEntrygetPointerClickgetPointerPosition isPointerDowngetTimePassingdrawreflexOf debugReflexOf activityOf drawingOf animationOfdebugActivityOfgroupActivityOfunsafeGroupActivityOftrace ParameterparametricDrawingOf convertedrenamedconstanttogglecountersliderrandomtimer currentHour currentMinute currentSecond ApplicationdefaultApplicationwithEventHandler withPicturewithMultiEventHandlerwithMultiPicturesubapplication applicationOfRule eventRule pictureRulemultiEventRulemultiPictureRulesubrulerulesunsafeMultiApplicationOfCanvasMPureOpNativeOpCanvasOp MonadCanvasgetScreenHeightgetScreenWidthisPointInStroke textMiddle textCenter fillColor strokeColor drawImgURL withImage builtinImage translate transformstrokesaverestorerectquadraticCurveTomoveTo lineWidthlineToglobalCompositeOperation globalAlphafontfillTextfillRect drawImage closePathclip bezierCurveTo beginPathnewImage isPointInPath measureTextfillscaleImage saveRestoredoCanvas interpCanvas runCanvasM bindCanvas liftCanvasfencewrapNum fenceColorfromHSLtoHSL sameAlphaAffineTransformation DrawStateinitialAffineTransformationmapDSAT mapDSColor initialDS translateDSscaleDSrotateDS reflectDS setColorDSopaqueDS getColorDS embedAsUrl PictureAndPicturesSketchCoordinatePlaneReflectDilate LetteringStyledLetteringThickArcSector ThickCircle SolidCircleCircle ThickCurve ThickPolylinePolylineThickClosedCurve ClosedCurveThickRectangleSolidRectangle Rectangle ThickPolygonPolygonSolidClosedCurve SolidPolygonBlankCurveArcClipRotateScale TranslaterectangleVerticesgetDebugSrcLoc srcContains text-1.2.5.0Data.Text.InternalTextwithDS viaOffscreenasyncProcessEventTriggers EventChannelReactiveProgramunReactiveProgramReactiveOutput systemPicture userTransform userPictures ReactiveInput timePassing pointerDownpointerPositionpointerRelease pointerPress textEntry keyReleasekeyPress GameToken tokenDraw tokenEvent tokenStep tokenInitialtokenNumPlayerstokenDeployHash PartialToken SteplessToken FullTokenPortNodeId getNodeIdsetColor applyColor followPatheuclideanDistance drawFigure fillFigure drawPicturepictureContains isSimplePicisOpaque drawPolygonpolygonContainsdrawPath pathContains drawSectorsectorContainsdrawArc arcContainsdrawText textContains fontString imageContainscoordinatePlanePic clearScreen drawFrame pixelSizesetupScreenContext getChildNodes findTopShapefindTopShapeFromPointtrim showFloat showPoints showColordescribePicturegetPictureSrcLoc haskellModereadPortFromEnvrunBlankCanvas keyCodeToTextisUniversallyConstant ifDifferentmodifyMVarIfDifferent getMousePostoEventonEventsrun runInspect getDeployHashrunGamerunReactiveProgramwithReactiveInputgetReactiveInput systemDrawtransformUserPicturegateDyn sendEvent runReactive%random-1.2.1.1-Gq45Dc4CYFB1uLVOCO4LJ3System.Random.InternalStdGenWrappedisDraggingZoomisDraggingHistoryisDraggingSpeedpanDraggingAnchor panCenterlastInteractionTime playbackSpeed zoomFactorstate StrictMaybeSJustSNothing StrictPointSPControl HistorySlider RedoButton UndoButton ZoomSlider SpeedSlider TimeLabel BackButtonStartOverButtonFastForwardButtonResetViewButton PanningLayer ZoomOutButton ZoomInButton RestartButton StepButton PauseButton PlayButtonTimelinefuturepresentpast newTimelineapplyToTimeline undoTimeline redoTimelinerestartTimelinetimelineLength travelToTime timelinePoswrappedInitial identicaltoState wrappedStep wrappedEvent scaleRange snapSliderxToPlaybackSpeedplaybackSpeedToX zoomIncrement yToZoomFactor zoomFactorToY handleControl wrappedDrawdrawControlPanel drawControldrawingControlsanimationControlssimulationControlsstatefulDebugControlsUIState SetupPhaseStepeventJoin ContinueMainCreateContinueConnect CancelConnect ContinueWait CancelWaitSMainSConnectSWaitstepinitial startWaiting updatePlayerspicture FrameStateBounds layoutParams pullMatchhitTest parameterOfbuttonOf