-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing core functions #15
Comments
jfacorro
added a commit
that referenced
this issue
Nov 24, 2018
jfacorro
added a commit
that referenced
this issue
Nov 24, 2018
jfacorro
added a commit
that referenced
this issue
Nov 24, 2018
jfacorro
added a commit
that referenced
this issue
Nov 24, 2018
jfacorro
added a commit
that referenced
this issue
Nov 24, 2018
jfacorro
added a commit
that referenced
this issue
Nov 24, 2018
jfacorro
added a commit
that referenced
this issue
Nov 24, 2018
jfacorro
added a commit
that referenced
this issue
Nov 24, 2018
jfacorro
added a commit
that referenced
this issue
Nov 24, 2018
jfacorro
added a commit
that referenced
this issue
Nov 29, 2018
jfacorro
added a commit
that referenced
this issue
Nov 29, 2018
jfacorro
added a commit
that referenced
this issue
Nov 29, 2018
jfacorro
added a commit
that referenced
this issue
Nov 29, 2018
jfacorro
added a commit
that referenced
this issue
Nov 29, 2018
jfacorro
added a commit
that referenced
this issue
Nov 29, 2018
Merged
jfacorro
added a commit
that referenced
this issue
Nov 29, 2018
jfacorro
added a commit
that referenced
this issue
Nov 29, 2018
Merged
Merged
jfacorro
added a commit
that referenced
this issue
Dec 2, 2018
jfacorro
added a commit
that referenced
this issue
Dec 2, 2018
jfacorro
added a commit
that referenced
this issue
Dec 2, 2018
[#15] Couple of image functions and fix bug with bgcolor option
Merged
jfacorro
added a commit
that referenced
this issue
Jan 10, 2019
jfacorro
added a commit
that referenced
this issue
Jan 10, 2019
[#15] with-translation, with-fill and with-stroke
jfacorro
added a commit
that referenced
this issue
Jan 10, 2019
jfacorro
added a commit
that referenced
this issue
Oct 10, 2021
jfacorro
added a commit
that referenced
this issue
Oct 10, 2021
[#15] Add rotate and with-rotation functions
jfacorro
added a commit
that referenced
this issue
Oct 31, 2021
jfacorro
added a commit
that referenced
this issue
Oct 31, 2021
jfacorro
added a commit
that referenced
this issue
Oct 31, 2021
[#15] Add keyboard related functions
jfacorro
added a commit
that referenced
this issue
Nov 8, 2021
jfacorro
added a commit
that referenced
this issue
Nov 11, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DEG-TO-RAD
HALF-PI
PI
QUARTER-PI
RAD-TO-DEG
THIRD-PI
TWO-PI
abs
- "Calculates the absolute value (magnitude) of a number"acos
- "The inverse of cos, returns the arc cosine of a value"arc
- "Draws an arc in the display window"asin
- "The inverse of sin, returns the arc sine of a value"atan
- "The inverse of tan, returns the arc tangent of a value"atan2
- "Calculates the angle (in radians) from a specified point to the coordinate origin as measured from the positive x-axis"begin-raw
- "Enables the creation of vectors from 3D data"box
- "Creates an extruded rectangle"camera
- "Sets the position of the camera through setting the eye position, the center of the scene, and which axis is facing upward"ceil
- "Calculates the closest int value that is greater than or equal to the value of the parameter"clip
- "Limits the rendering to the boundaries of a rectangle defined by the parameters"constrain
- "Constrains a value to not exceed a maximum and minimum value"cos
- "Calculates the cosine of an angle"current-fill
- "Return the current fill color"current-frame-rate
- "Returns the current framerate"current-stroke
- "Return the current stroke color"day
- "Get the current day of the month (1 through 31)"debug
- "Prints msg and then sleeps the current thread for delay-ms"defsketch
- "Define and start a sketch and bind it to a var with the symbol app-name"degrees
- "Converts a radian measurement to its corresponding value in degrees"display-density
- "This function returns the number 2 if the screen is a high-density screen (called a Retina display on OS X or high-dpi on Windows and Linux) and a 1 if not"dist
- "Calculates the distance between two points"do-record
- "Macro for drawing on graphics which saves result in the file at the end"ellipse
- "Draws an ellipse (oval) in the display window"ellipse-mode
- "Modifies the origin of the ellispse according to the specified mode: :center - specifies the location of the ellipse as the center of the shape"end-raw
- "Complement to begin-raw; they must always be used together"exp
- "Returns Euler's number e (2"fill
- "Sets the color used to fill shapes"floor
- "Calculates the closest int value that is less than or equal to the value of the parameter"focused
- "Returns a boolean value representing whether the applet has focus"frame-count
- "The system variable frameCount contains the number of frames displayed since the program started"frame-rate
- "Specifies a new target framerate (number of frames to be displayed every second)"frustum
- "Sets a perspective matrix defined through the parameters"green
- "Extracts the green value from a color, scaled to match current color-mode"height
- "Height of the display window"hint
- "Set various hints and hacks for the renderer"hint-options
hour
- "Returns the current hour as a value from 0 - 23"hue
- "Extracts the hue value from a color"key-as-keyword
- "Returns a keyword representing the currently pressed key"key-code
- "The variable keyCode is used to detect special keys such as the UP, DOWN, LEFT, RIGHT arrow keys and ALT, CONTROL, SHIFT"key-coded?
- "Returns true if char c is a 'coded' char i"key-modifiers
- "Set of key modifiers that were pressed when event happened"key-pressed?
- "true if any key is currently pressed, false otherwise"lerp
- "Calculates a number between two numbers at a specific increment"lerp-color
- "Calculates a color or colors between two color at a specific increment"line
- "Draws a line (a direct path between two points) to the screen"log
- "Calculates the natural logarithm (the base-e logarithm) of a number"looping?
- "Returns whether the sketch is looping"mag
- "Calculates the magnitude (or length) of a vector"map-range
- "Re-maps a number from one range to another"millis
- "Returns the number of milliseconds (thousandths of a second) since starting the sketch"minute
- "Returns the current minute as a value from 0 - 59"month
- "Returns the current month as a value from 1 - 12"mouse-button
- "The value of the system variable mouseButton is either :left, :right, or :center depending on which button is pressed"mouse-pressed?
- "Variable storing if a mouse button is pressed"mouse-x
- "Current horizontal coordinate of the mouse"mouse-y
- "Current vertical coordinate of the mouse"no-clip
- "Disables the clipping previously started by the clip() function"no-fill
- "Disables filling geometry"no-smooth
- "Draws all geometry with jagged (aliased) edges"no-stroke
- "Disables drawing the stroke (outline)"noise
- "Returns the Perlin noise value at specified coordinates"noise-detail
- "Adjusts the character and level of detail produced by the Perlin noise function"noise-seed
- "Sets the seed value for noise"norm
- "Normalize a value to exist between 0 and 1 (inclusive)"ortho
- "Sets an orthographic projection and defines a parallel clipping volume"perspective
- "Sets a perspective projection applying foreshortening, making distant objects appear smaller than closer ones"pixel-density
- "It makes it possible for Processing to render using all of the pixels on high resolutions screens like Apple Retina displays and Windows High-DPI displays"pmouse-x
- "Horizontal coordinate of the mouse in the previous frame"pmouse-y
- "Vertical coordinate of the mouse in the previous frame"point
- "Draws a point, a coordinate in space at the dimension of one pixel"pow
- "Facilitates exponential expressions"print-camera
- "Prints the current camera matrix to std out"print-projection
- "Prints the current projection matrix to std out"quad
- "A quad is a quadrilateral, a four sided polygon"quadratic-vertex
- "Specifies vertex coordinates for quadratic Bezier curves"radians
- "Converts a degree measurement to its corresponding value in radians"random
- "Generates random numbers"random-2d
- "Returns a new 2D unit vector with a random direction"random-3d
- "Returns a new 3D unit vector with a random direction"random-gaussian
- "Returns a float from a random series of numbers having a mean of 0 and standard deviation of 1"random-seed
- "Sets the seed value for random"raw-key
- "Contains the value of the most recent key on the keyboard that was used (either pressed or released)"rect
- "Draws a rectangle to the screen"rect-mode
- "Modifies the location from which rectangles draw"resize-sketch
- "Resizes sketch"round
- "Calculates the integer closest to the value parameter"saturation
- "Extracts the saturation value from a color"screen-height
- "Returns the height of the main screen in pixels"screen-width
- "Returns the width of the main screen in pixels"seconds
- "Returns the current second as a value from 0 - 59"set-pixel
- "Changes the color of any pixel in the display window"set-state!
- "Set sketch-specific state"show-cats
- "Print out a list of all the categories and subcategories, associated index nums and fn count (in parens)"show-fns
- "If given a number, print all the functions within category or subcategory specified by the category index (use show-cats to see a list of index nums)"sin
- "Calculates the sine of an angle"sketch
- "Create and start a new visualisation applet"smooth
- "Draws all geometry with smooth (anti-aliased) edges"sphere
- "Generates a hollow ball made from tessellated triangles"sphere-detail
- "Controls the detail used to render a sphere by adjusting the number of vertices of the sphere mesh"sq
- "Squares a number (multiplies a number by itself)"sqrt
- "Calculates the square root of a number"state
- "Retrieve sketch-specific state by key"state-atom
- "Retrieve sketch-specific state-atom" 🟥The state is not kept in an atom.
stroke
- "Sets the color used to draw lines and borders around shapes"stroke-cap
- "Sets the style for rendering line endings"stroke-join
- "Sets the style of the joints which connect line segments"stroke-weight
- "Sets the width of the stroke used for lines, points, and the border around shapes"tan
- "Calculates the ratio of the sine and cosine of an angle"target-frame-rate
- "Returns the target framerate specified with the fn frame-rate"triangle
- "A triangle is a plane created by connecting three points"width
- "Width of the display window"with-fill
- "Temporarily set the fill color for the body of this macro"with-stroke
- "Temporarily set the stroke color for the body of this macro"year
- "Returns the current year as an integer (2003, 2004, 2005, etc)"Color
Structure
draw
function one time (or n times in cljs)The text was updated successfully, but these errors were encountered: