!      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None  4HV /  Safe%7g s codeworld-apiAn infinite list of colors.-     !"#$%&'Safe codeworld-api"(AffineTransformation a b c d e f)+ represents an affine transformation matrix a c e b d f 0 0 1 References:  Shttps://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/transform Jhttps://en.wikipedia.org/wiki/Transformation_matrix#Affine_transformations codeworld-apiA , if already chosen. None  None7E&6 codeworld-apiMove given point by given X-axis and Y-axis offsets >>> translatedPoint 1 2 (10,10) (11.0,12.0) >>> translatedPoint (-1) (-2) (0,0) (-1.0,-2.0); codeworld-apiEGiven vector, calculate angle in radians that it has with the X-axis.vectorDirection (1,0)0.0vectorDirection (1,1)0.7853981633974483vectorDirection (0,1)1.5707963267948966? codeworld-api-Rotate given vector by 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)A codeworld-apiA blank pictureB codeworld-api@A thin sequence of line segments, with these points as endpointsC codeworld-api@A thin sequence of line segments, with these points as endpointsD codeworld-apiFA thick sequence of line segments, with given line width and endpointsE codeworld-apiFA thick sequence of line segments, with given line width and endpointsF codeworld-api,A thin polygon with these points as verticesG codeworld-apiBA thick polygon with this line width and these points as verticesH codeworld-api-A solid polygon with these points as verticesI codeworld-api,A smooth curve passing through these points.J codeworld-apiHA thick smooth curve with this line width, passing through these points.K codeworld-api3A smooth closed curve passing through these points.L codeworld-apiOA thick smooth closed curve with this line width, passing through these points.M codeworld-api9A solid smooth closed curve passing through these points.N codeworld-api,A thin rectangle, with this width and heightO codeworld-api-A solid rectangle, with this width and heightP codeworld-api=A thick rectangle, with this line width, and width and heightQ codeworld-apiA thin circle, with this radiusR codeworld-api/A thick circle, with this line width and radiusS codeworld-apiAA thin arc, starting and ending at these angles, with this radiusAngles are in radians.T codeworld-apiYA thick arc with this line width, starting and ending at these angles, with this radius.Angles are in radians.U codeworld-api A solid circle, with this radiusV codeworld-apieA solid sector of a circle (i.e., a pie slice) starting and ending at these angles, with this radiusAngles are in radians.W codeworld-apiA rendering of text characters.X codeworld-apiA rendering of text characters.Y codeworld-apiIA rendering of text characters, with a specific choice of font and style.Z codeworld-apiYA rendering of text characters onto a Picture, with a specific choice of font and style.[ codeworld-api'A picture drawn entirely in this color.\ codeworld-api(A picture drawn entirely in this colour.] codeworld-api/A picture drawn translated in these directions.^ codeworld-api<A picture scaled by these factors in the x and y directions._ codeworld-apiBA picture scaled uniformly in all directions by this scale factor.` codeworld-api A picture rotated by this angle.Angles are in radians.b codeworld-apiBinary composition of pictures.c codeworld-apibA coordinate plane. Adding this to your pictures can help you measure distances more accurately. Example: D main = drawingOf (myPicture <> coordinatePlane) myPicture = ... d codeworld-apiThe CodeWorld logo._(.-,+*)/2103 !"#$%&'()*+,-./0123456789:;<=>456789:;<=>?@ABCDEFGHIJKLM?NOPQRSTUVWXYZ[\]^_`abcd@Ab0NoneG:efghijklmnopqrstuvwxyz{|}~:efghijklmnopqrstuvwxyz{|}~ NonegT| codeworld-apiAn event initiated by the user.bValues of this type represent events that the user triggers when using an interactive program.Key events describe the key as B#. 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 None "#.17=>?@ACHMNQSVXh  codeworld-api;Type class for the builder monad of a CodeWorld/Reflex app. codeworld-apiEGets an Event of key presses. The event value is a logical key name. codeworld-apiEGets an Event of key presses. The event value is a logical key name. codeworld-apiBGets an Event of text entered. The event value is the typed text. codeworld-apiPGets 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.C codeworld-api Applies 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.D 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.gEFGHIJKLMNOPQRSTUVWXYZ[C\]D^_`abcdefghijklmnopqrstuvwxyz{|}~None"#>NSXgk codeworld-api<The entry point for running Reflex-based CodeWorld programs.o  ()*+,-./0123456789:;<=>?@ABDFGHIJKLMNOPQRSTUVXZ[\]^_`abcdo3ABDFGHIJKLMNOPQURSVTX/012()*+,-.Z[\]^_`abcd567894:;<=>?@   None "#&'4FHQ  codeworld-api7Runs an interactive CodeWorld program that responds to fs. Activities can interact with the user, change over time, and remember information about the past.qExample: 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-apiRuns an interactive event-driven CodeWorld program. This is a generalization of simulations that can respond to events like key presses and mouse movement. codeworld-apiDraws a 3-. This is the simplest CodeWorld entry point.KExample: a program which draws a circle of radius 1 in the middle of canvas main = drawingOf $ circle 1  codeworld-apiHShows an animation, with a picture for each time given by the parameter.HExample: 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}Shows a simulation, which is essentially a continuous-time dynamical system described by an initial value and step function. 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-apikRuns 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 B that avoids static pointers, and does not check for consistency. codeworld-api A version of L that avoids static pointers, and does not check for consistent parameters. codeworld-apieRuns an interactive multi-user CodeWorld program, involving multiple participants over the internet. codeworld-apiPrints a debug message to the CodeWorld console when a value is forced. This is equivalent to the similarly named function in J, except that it sets appropriate buffering to use the CodeWorld console.  codeworld-api"The initial state of the activity. codeworld-apiGThe event handling function, which updates the state given an event. codeworld-apiRThe visualization function, which converts the state into a picture to display. codeworld-api%The initial state of the interaction. codeworld-apiNThe time step function, which advances the state given the time difference. codeworld-apiUThe event handling function, which updates the state given a user interface event. codeworld-apiRThe visualization function, which converts the state into a picture to display. codeworld-api"The picture to show on the screen. codeworld-apiHA function that produces animation frames, given the time in seconds. codeworld-api$The initial state of the simulation. codeworld-apiNThe time step function, which advances the state given the time difference. codeworld-apiRThe visualization function, which converts the state into a picture to display. codeworld-api$The initial state of the simulation. codeworld-apiNThe time step function, which advances the state given the time difference. codeworld-apiRThe visualization function, which converts the state into a picture to display. codeworld-api%The initial state of the interaction. codeworld-apiNThe time step function, which advances the state given the time difference. codeworld-apiUThe event handling function, which updates the state given a user interface event. codeworld-apiRThe visualization function, which converts the state into a picture to display. codeworld-api%The initial state of the interaction. codeworld-apiGThe event handling function, which updates the state given an event. codeworld-apiRThe visualization function, which converts the state into a picture to display. codeworld-apiXThe 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-apilThe event handling function, which updates the state given a participant number and user interface event. codeworld-apikThe visualization function, which converts a participant number and the state into a picture to display. codeworld-apiXThe number of participants to expect. The participants will be numbered starting at 0. codeworld-api"The initial state of the activity. codeworld-apilThe event handling function, which updates the state given a participant number and user interface event. codeworld-apikThe visualization function, which converts a participant number and the state into a picture to display. codeworld-apiXThe number of participants to expect. The participants will be numbered starting at 0. codeworld-api'The initial state of the collaboration. codeworld-apiNThe time step function, which advances the state given the time difference. codeworld-apilThe event handling function, which updates the state given a participant number and user interface event. codeworld-apikThe visualization function, which converts a participant number and the state into a picture to display. codeworld-apiXThe number of participants to expect. The participants will be numbered starting at 0. codeworld-api'The initial state of the collaboration. codeworld-apiNThe time step function, which advances the state given the time difference. codeworld-apilThe event handling function, which updates the state given a participant number and user interface event. codeworld-apikThe visualization function, which converts a participant number and the state into a picture to display.PNone %&'.HJQVgM codeworld-apiThe UI state, indexed by the  codeworld-api-Possible steps taken from a given setup phase codeworld-apisThe 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.FThe possible UI-triggered transitions of this state are described by . codeworld-api*Handling a UI event. May change the phase.Nonegz  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdz3/012()*+,-.ABCDEFGHIJKLMNOPQURSVTWXYZ[\]^_`abcd567894:;<=>?@!"$%&#'  None'H None'H|  !"#$%&'()*+,-./0123456789: ; < = > ? @ 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 r s t u v wxyz{|}~                 f !"#"#$%&'()*+,- . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L  M N OPQR S T U U V W W X Y Z  [ \ ] ^ _ ` a b c d e f f g h i j k l m n o p q r s t u v w x y z { |  } ~                                                                                                       *codeworld-api-0.4.0-ITbvbNnp6mHHRCEs5dsFXmCodeWorld.Reflex CodeWorldCodeWorld.SketchesCodeWorld.App2 CodeWorld.AppCodeWorld.CanvasMCodeWorld.ColorCodeWorld.DrawStateUtil.EmbedAsUrlCodeWorld.PictureCodeWorld.EventCodeWorld.DriverCodeWorld.EntryPointsDebugTraceCodeWorld.CollaborationUIbaseGHC.Base<>ColourColorRGBAHSLRGBmixedlighterlightdarkerdarkbrighterbrightdullerdull translucentassortedColorshue saturation luminosityalphawhiteblackgraygreyredorangeyellowgreenbluepurplepinkbrowncyanmagenta chartreuse aquamarineazurevioletroseFont SansSerifSerif Monospace HandwritingFancy NamedFont TextStylePlainBoldItalicPictureVectorPointtranslatedPoint rotatedPoint scaledPoint dilatedPoint vectorLengthvectorDirection vectorSumvectorDifference scaledVector rotatedVector dotProductblankpolylinepath thickPolyline thickPathpolygon thickPolygon solidPolygoncurve thickCurve closedCurvethickClosedCurvesolidClosedCurve rectanglesolidRectanglethickRectanglecircle thickCirclearcthickArc solidCirclesectortext lettering styledTextstyledLetteringcoloredcoloured translatedscaleddilatedrotatedpictures&coordinatePlane codeWorldLogosketchedAirplane 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 isPointerDowngetTimePassingdraw ReactiveInputkeyPress keyRelease textEntry pointerPresspointerReleasepointerPosition pointerDown timePassingreflexOf reactiveOfdebugReactiveOf activityOf interactionOf drawingOf animationOf simulationOfdebugSimulationOfdebugInteractionOfdebugActivityOfgroupActivityOfunsafeGroupActivityOfunsafeCollaborationOfcollaborationOftrace ApplicationdefaultApplication withTimeStepwithEventHandler withPicturewithMultiEventHandlerwithMultiPicturesubapplication applicationOfRuletimeRule eventRule pictureRulemultiEventRulemultiPictureRulesubrulerulesunsafeMultiApplicationOfCanvasMPureOpNativeOpCanvasOp MonadCanvasgetScreenHeightgetScreenWidthisPointInStroke textMiddle textCenter fillColor strokeColor drawImgURL withImage builtinImage translate transformstrokesaverestorerectquadraticCurveTomoveTo lineWidthlineToglobalCompositeOperation globalAlphafontfillTextfillRect drawImage closePath bezierCurveTo beginPathnewImage isPointInPath measureTextfillscaleImage saveRestoredoCanvas interpCanvas runCanvasM bindCanvas liftCanvasfencewrapNum fenceColorfromHSLtoHSL sameAlphaAffineTransformation DrawStateinitialAffineTransformationmapDSAT mapDSColor initialDS translateDSscaleDSrotateDS setColorDSopaqueDS getColorDS embedAsUrl PictureAndPicturesSketchCoordinatePlaneDilate LetteringStyledLetteringThickArcSector ThickCircle SolidCircleCircle ThickCurveCurve ThickPolylinePolylineThickClosedCurve ClosedCurveThickRectangleSolidRectangle Rectangle ThickPolygonPolygonSolidClosedCurve SolidPolygonBlankArcRotateScale TranslaterectangleVerticesgetDebugSrcLoc srcContains text-1.2.3.1Data.Text.InternalTextwithDS viaOffscreenReactiveProgramunReactiveProgramReactiveOutput systemPicture userTransform userPictures GameToken PartialToken SteplessToken FullToken tokenDraw tokenEvent tokenStep tokenInitialtokenNumPlayerstokenDeployHashPortNodeId getNodeIdsetColor applyColor followPatheuclideanDistance drawFigure fillFigure drawPicturepictureContains isSimplePicisOpaque drawPolygonpolygonContainsdrawPath pathContains drawSectorsectorContainsdrawArc arcContainsdrawText textContains fontString imageContainscoordinatePlanePic clearScreen drawFrame pixelSizesetupScreenContext getChildNodesgetRootTransform findTopShapefindTopShapeFromPointtrim showFloat showPoints showColordescribePicturegetPictureSrcLoc haskellModereadPortFromEnvrunBlankCanvas keyCodeToTextisUniversallyConstant ifDifferentmodifyMVarIfDifferent getMousePostoEventonEventsrun runInspect getDeployHashrunGamerunReactiveProgramwithReactiveInputgetReactiveInput systemDrawtransformUserPicturesplitDyngateDyn runReactive!random-1.1-3ypV4EIycgb35PKjTYYr5q System.RandomStdGenWrappedisDraggingZoomisDraggingHistoryisDraggingSpeedpanDraggingAnchor 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