Search completed in 0.94 seconds.
WaveShaperNode.WaveShaperNode() - Web APIs
the wave
shapernode() constructor of the web audio api creates a new wave
shapernode object which is an audionode that represents a non-linear distorter.
... the wave
shapernode() constructor of the web audio api creates a new wave
shapernode object which is an audionode that represents a non-linear distorter.
... the wave
shapernode() constructor of the web audio api creates a new wave
shapernode object which is an audionode that represents a non-linear distorter.
...And 3 more matches
Overview of CSS Shapes - CSS: Cascading Style Sheets
the css
shapes level 1 specification describes geometric
shapes in css.
... the css
shapes level 1 specification describes geometric
shapes in css.
... the css
shapes level 1 specification describes geometric
shapes in css.
...And 83 more matches
Basic Shapes - CSS: Cascading Style Sheets
css
shapes can be defined using the <basic-
shape> type, and in this guide i’ll explain how each of the different values accepted by this type work.
... css
shapes can be defined using the <basic-
shape> type, and in this guide i’ll explain how each of the different values accepted by this type work.
... css
shapes can be defined using the <basic-
shape> type, and in this guide i’ll explain how each of the different values accepted by this type work.
...And 63 more matches
shape-outside - CSS: Cascading Style Sheets
the
shape-outside css property defines a
shape—which may be non-rectangular—around which adjacent inline content should wrap.
... the
shape-outside css property defines a
shape—which may be non-rectangular—around which adjacent inline content should wrap.
...box;
shape-outside provides a way to customize this wrapping, making it possible to wrap text around complex objects rather than simple boxes.
...And 55 more matches
Edit Shape Paths in CSS - Firefox Developer Tools
the
shape path editor is a tool that helps you see and edit
shapes created using clip-path and also the css
shape-outside property and <basic-
shape> values.
... the
shape path editor is a tool that helps you see and edit
shapes created using clip-path and also the css
shape-outside property and <basic-
shape> values.
... the
shape path editor is a tool that helps you see and edit
shapes created using clip-path and also the css
shape-outside property and <basic-
shape> values.
...And 46 more matches
Shapes From Images - CSS: Cascading Style Sheets
in this guide we will take a look at how we can create a
shape from an image file with an alpha channel or even from a css gradient.
... in this guide we will take a look at how we can create a
shape from an image file with an alpha channel or even from a css gradient.
... in this guide we will take a look at how we can create a
shape from an image file with an alpha channel or even from a css gradient.
...And 33 more matches
<basic-shape> - CSS: Cascading Style Sheets
the <basic-
shape> css data type represents a
shape used in the clip-path,
shape-outside, and offset-path properties.
... the <basic-
shape> css data type represents a
shape used in the clip-path,
shape-outside, and offset-path properties.
...pe> css data type represents a
shape used in the clip-path,
shape-outside, and offset-path properties.
...And 32 more matches
Drawing shapes with canvas - Web APIs
« previousnext » now that we have set up our canvas environment, we can get into the details of how to draw on the canvas.
...ed relative to this origin.
...e square becomes x pixels from the left and y pixels from the top, at coordinate (x,y).
...And 22 more matches
CSS Shapes - CSS: Cascading Style Sheets
css
shapes describe geometric
shapes for use in css.
... css
shapes describe geometric
shapes for use in css.
... css
shapes describe geometric
shapes for use in css.
...And 21 more matches
shape-image-threshold - CSS: Cascading Style Sheets
the
shape-image-threshold css property sets the alpha channel threshold used to extract the
shape using an image as the value for
shape-outside.
...to extract the
shape using an image as the value for
shape-outside.
...ctive example is stored in a github repository.
...And 20 more matches
Shapes from box values - CSS: Cascading Style Sheets
a straightforward way to create a
shape is to use a value from the css box model.
... a straightforward way to create a
shape is to use a value from the css box model.
... a straightforward way to create a
shape is to use a value from the css box model.
...And 17 more matches
Basic shapes - SVG: Scalable Vector Graphics
« previousnext » there are several basic
shapes used for most svg drawing.
... « previousnext » there are several basic
shapes used for most svg drawing.
...g.
...And 11 more matches
shape - CSS: Cascading Style Sheets
the
shape css media feature can be used to test the
shape of the device to distinguish recrangular and round displays.
... the
shape css media feature can be used to test the
shape of the device to distinguish recrangular and round displays.
... the
shape css media feature can be used to test the
shape of the device to distinguish recrangular and round displays.
...And 8 more matches
shape-margin - CSS: Cascading Style Sheets
the
shape-margin css property sets a margin for a css
shape created using
shape-outside.
... the
shape-margin css property sets a margin for a css
shape created using
shape-outside.
...using
shape-outside.
...And 8 more matches
WaveShaperNode - Web APIs
the wave
shapernode interface represents a non-linear distorter.
... the wave
shapernode interface represents a non-linear distorter.
... signal.
...And 7 more matches
shape-rendering - SVG: Scalable Vector Graphics
the
shape-rendering attribute provides hints to the renderer about what tradeoffs to make when rendering
shapes like paths, circles, or rectangles.
... the
shape-rendering attribute provides hints to the renderer about what tradeoffs to make when rendering
shapes like paths, circles, or rectangles.
...resentation attribute,
shape-rendering can be used as a css property.
...And 5 more matches
BaseAudioContext.createWaveShaper() - Web APIs
the createwave
shaper() method of the baseaudiocontext interface creates a wave
shapernode, which represents a non-linear distortion.
... the createwave
shaper() method of the baseaudiocontext interface creates a wave
shapernode, which represents a non-linear distortion.
... the createwave
shaper() method of the baseaudiocontext interface creates a wave
shapernode, which represents a non-linear distortion.
...And 4 more matches
<shape> - CSS: Cascading Style Sheets
the <
shape> css data type defines the specific form (
shape) of a region.
... the <
shape> css data type defines the specific form (
shape) of a region.
... the <
shape> css data type defines the specific form (
shape) of a region.
...And 4 more matches
WaveShaperNode.curve - Web APIs
the curve property of the wave
shapernode interface is a float32array of numbers describing the distortion to apply.
...ignal values of -1, and the last to signal values of 1; values lower than -1 or greater than 1 are treated like -1 or 1 respectively.
... linearly interpolated.
...And 2 more matches
WaveShaperNode.oversample - Web APIs
the oversample property of the wave
shapernode interface is an enumerated value indicating if oversampling must be used.
...recision shaping curve.
... '2x' double the amount of samples before applying the shaping curve.
...And 2 more matches
Property cache
spidermonkey's property cache is an internal data structure used to speed up property accesses in the interpreter and to communicate between the interpreter and jit.
...ata structure used to speed up property accesses in the interpreter and to communicate between the interpreter and jit.
...ng accessed; in cases where type inference does not find the exact
shape of the object being accessed, spidermonkey uses a pic (polymorphic inline caches) to store the result of the lookup.
...And 93 more matches
Index - Web APIs
s the position and orientation of the person listening to the audio.
... 243 baseaudiocontext.createscriptprocessor() api, audiocontext, baseaudiocontext, method, reference, web audio api, createscriptprocessor a scriptprocessornode.
...ethod, reference, web audio api, createscriptprocessor a scriptprocessornode.
...And 34 more matches
SVG documentation index - SVG: Scalable Vector Graphics
ction.
... and text it's a presentation attribute that defines the color (or any svg paint servers like gradients or patterns) used to paint the element; for animation it defines the final state of the animation.
...al state of the animation.
...And 33 more matches
clip-path - CSS: Cascading Style Sheets
oject, please clone https://github.com/mdn/interactive-examples and send us a pull request.
...rder-box; clip-path: padding-box; clip-path: content-box; clip-path: fill-box; clip-path: stroke-box; clip-path: view-box; /* <basic-
shape> values */ clip-path: inset(100px 50px); clip-path: circle(50px at 0 100px); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); clip-path: path('m0.5,1 c0.5,1,0,0.7,0,0.3 a0.25,0.25,1,1,1,0.5,0.3 a0.25,0.25,1,1,1,1,0.3 c1,0.7,0.5,1,0.5,1 z'); /* box and
shape values combined */ clip-path: padding-box circle(50px at 0 100px); /* global values */ clip-path: inherit; clip-path: initial; clip-path: unset; the clip-path property is specified as one or a combination of the values listed below.
....25,1,1,1,0.5,0.3 a0.25,0.25,1,1,1,1,0.3 c1,0.7,0.5,1,0.5,1 z'); /* box and
shape values combined */ clip-path: padding-box circle(50px at 0 100px); /* global values */ clip-path: inherit; clip-path: initial; clip-path: unset; the clip-path property is specified as one or a combination of the values listed below.
...And 21 more matches
JIT Optimization Strategies
; // x is a definite slot property this.y = 10; // y is a definite slot property somecomplicatedfunctioncall(); this.z = 20; // z is not a definite slot property.
...derived1 and derived2 for d, it can optimize the access to x to a call to the getter function defined on base.
...this optimization applies to shared getters on both pure js objects as well as dom objects.
...And 19 more matches
Applying styles and colors - Web APIs
« previousnext » in the chapter about drawing
shapes, we used only the default line and fill styles.
...chapter about drawing
shapes, we used only the default line and fill styles.
...osal to make our drawings a little more attractive.
...And 18 more matches
Building up a basic demo with Three.js - Game development
a typical 3d scene in a game — even the simplest one — contains standard items like
shapes located in a coordinate system, a camera to actually see them, lights and materials to make it look better, animations to make it look alive, etc.
...ree.webglrenderer({antialias:true}); renderer.setsize(width, height); renderer.setclearcolor(0xdddddd, 1); document.body.appendchild(renderer.domelement); we are creating a new webgl renderer, setting its size to fit the whole available space on the screen, and appending the dom structure to the page.
...enders the scene and the camera.
...And 17 more matches
JavaScript modules - JavaScript
entation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
... the lack of curly braces.
...quare is it.
...And 15 more matches
radial-gradient() - CSS: Cascading Style Sheets
the radial-gradient() css function creates an image consisting of a progressive transition between two or more colors that radiate from an origin.
...thub.com/mdn/interactive-examples and send us a pull request.
...e-examples and send us a pull request.
...And 14 more matches
Advanced styling effects - Learn web development
look at the mdn page for filter for many other options you could try.
... gives a similar effect to box-shadow or text-shadow.
...blend-mode: multiply; } this gives us the following results: you can see here that the multiply mix blend has blended together not only the two background images, but also the color from the <div> below it too.
...And 13 more matches
offset-path - CSS: Cascading Style Sheets
the offset-path css property specifies a motion path for an element to follow and defines the element's positioning within the parent container or svg coordinate system.
...s a line segment starting from the position of the box and proceeds in the direction defined by the specified angle similar to the css gradient angle where 0deg is up, with positive angles increasing in the clockwise direction, with the size value being similar to the css radial gradient size values from closest-side to farthest-corner, and the keyterm contain.
...ection defined by the specified angle similar to the css gradient angle where 0deg is up, with positive angles increasing in the clockwise direction, with the size value being similar to the css radial gradient size values from closest-side to farthest-corner, and the keyterm contain.
...And 12 more matches
SVG Presentation Attributes - SVG: Scalable Vector Graphics
lay dominant-baseline enable-background fill fill-opacity fill-rule filter flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-orientation-horizontal glyph-orientation-vertical image-rendering kerning letter-spacing lighting-color marker-end marker-mid marker-start mask opacity overflow pointer-events
shape-rendering solid-color solid-opacity stop-color stop-opacity stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering transform unicode-bidi vector-effect visibility word-spacing writing-mode attributes alignment-baseline it specifies how an object is aligned along t...
...entral|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical|inherit; animatable: yes baseline-shift it allows repositioning of the dominant-baseline relative to the dominant-baseline of the parent text content element.
... value: auto|baseline|super|sub|<percentage>|<length>|inherit; animatable: yes clip deprecated it defines what portion of an element is visible.
...And 12 more matches
fill-rule - SVG: Scalable Vector Graphics
the fill-rule attribute is a presentation attribute defining the algorithm to use to determine the inside part of a
shape.
...ement but it has effect only on the following eight elements: <altglyph>, <path>, <polygon>, <polyline>, <text>, <textpath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="-10 -10 220 120" xmlns="http://www.w3.org/2000/svg"> <!-- default value for fill-rule --> <polygon fill-rule="nonzero" stroke="red" points="50,0 21,90 98,35 2,35 79,90"/> <!-- the center of the
shape has two path segments (shown by the red stroke) between it and infinity.
... <tref>, and <tspan> html,body,svg { height:100% } <svg viewbox="-10 -10 220 120" xmlns="http://www.w3.org/2000/svg"> <!-- default value for fill-rule --> <polygon fill-rule="nonzero" stroke="red" points="50,0 21,90 98,35 2,35 79,90"/> <!-- the center of the
shape has two path segments (shown by the red stroke) between it and infinity.
...And 11 more matches
SVG Guidelines
y are a source of many issues, and the svg wg recommends not to include them.
...g wg recommends not to include them.
... avoid the use of cdata sections cdata sections are used to avoid parsing some text as html.
...And 9 more matches
Compositing and clipping - Web APIs
« previousnext » in all of our previous examples,
shapes were always drawn one on top of the other.
... « previousnext » in all of our previous examples,
shapes were always drawn one on top of the other.
... « previousnext » in all of our previous examples,
shapes were always drawn one on top of the other.
...And 9 more matches
Building up a basic demo with PlayCanvas editor - Game development
t small, so we will use the empty project — click on the blank project option and enter a name for it (we are using "mdn games demo".) enter a description if you want — it is optional.
...ill open a color wheel.
... so, at this point we've created a blue box.
...And 8 more matches
Compositing example - Web APIs
'destination-over','destination-in','destination-out','destination-atop', 'lighter', 'copy','xor', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity' ].reverse(); var gcotext = [ 'this is the default setting and draws new
shapes on top of the existing canvas content.', 'the new
shape is drawn only where both the new
shape and the destination canvas overlap.
...dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity' ].reverse(); var gcotext = [ 'this is the default setting and draws new
shapes on top of the existing canvas content.', 'the new
shape is drawn only where both the new
shape and the destination canvas overlap.
...usion', 'hue', 'saturation', 'color', 'luminosity' ].reverse(); var gcotext = [ 'this is the default setting and draws new
shapes on top of the existing canvas content.', 'the new
shape is drawn only where both the new
shape and the destination canvas overlap.
...And 8 more matches
repeating-radial-gradient() - CSS: Cascading Style Sheets
een and back again, repeating five times between the center and the bottom right corner, and only once between the center and the top left corner */ repeating-radial-gradient(farthest-corner at 20% 20%, red 0, green, red 20%); values <position> the position of the gradient, interpreted in the same way as background-position or transform-origin.
...repeating five times between the center and the bottom right corner, and only once between the center and the top left corner */ repeating-radial-gradient(farthest-corner at 20% 20%, red 0, green, red 20%); values <position> the position of the gradient, interpreted in the same way as background-position or transform-origin.
... corner, and only once between the center and the top left corner */ repeating-radial-gradient(farthest-corner at 20% 20%, red 0, green, red 20%); values <position> the position of the gradient, interpreted in the same way as background-position or transform-origin.
...And 8 more matches
Building up a basic demo with Babylon.js - Game development
a spotlight in a given direction.
...light("light", new babylon.vector3(10, 10, 0), scene); the parameters are very similar to the previously defined camera: the name of the light, a position in 3d space and the scene to which the light is added.
...iously defined camera: the name of the light, a position in 3d space and the scene to which the light is added.
...And 7 more matches
Drawing graphics - Learn web development
to move on.
...bove, all drawing operations are done by manipulating a canvasrenderingcontext2d object (in our case, ctx).
...ject (in our case, ctx).
...And 7 more matches
An Overview of XPCOM
her very important topic in object oriented programming.
... which one class is derived from another.
...rived from another.
...And 7 more matches
Object.create() - JavaScript
implementation of object.create is a shim and doesn't support a second argument."); } function f() {} f.prototype = proto; return new f(); }; } examples classical inheritance with object.create() below is an example of how to use object.create() to achieve classical inheritance.
...eate is a shim and doesn't support a second argument."); } function f() {} f.prototype = proto; return new f(); }; } examples classical inheritance with object.create() below is an example of how to use object.create() to achieve classical inheritance.
... } function f() {} f.prototype = proto; return new f(); }; } examples classical inheritance with object.create() below is an example of how to use object.create() to achieve classical inheritance.
...And 7 more matches
Paths - SVG: Scalable Vector Graphics
« previousnext » the <path> element is the most powerful element in the svg library of basic
shapes.
... « previousnext » the <path> element is the most powerful element in the svg library of basic
shapes.
... « previousnext » the <path> element is the most powerful element in the svg library of basic
shapes.
...And 7 more matches
Building up a basic demo with A-Frame - Game development
in the bottom right corner of the screen, to allow you to shift to full screen, stereoscopic image viewing if you have the necesary vr hardware set up and ready.
...type="directional" color="#fff" intensity="0.5" position="-1 1 2"> </a-light> <a-light type="ambient" color="#fff"> </a-light> the directional light has a white color, its intensity is set to 0.5, and it is placed at position -1 1 2.
...r="#fff"> </a-light> the directional light has a white color, its intensity is set to 0.5, and it is placed at position -1 1 2.
...And 6 more matches
CanvasRenderingContext2D - Web APIs
the canvasrenderingcontext2d interface, part of the canvas api, provides the 2d rendering context for the drawing surface of a <canvas> element.
...nment setting.
...eft, right, center.
...And 6 more matches
Adding 2D content to a WebGL context - Web APIs
e putting it directly in front of the camera perpendicular to the view direction.
...and their colors.
... drawing webgl content: the vertex shader and the fragment shader.
...And 6 more matches
Object.prototype.__proto__ - JavaScript
ting of a getter and setter function.
...ss that does not consult object.prototype will not.
..._proto__ property is found before object.prototype is consulted, that property will hide the one found on object.prototype.
...And 6 more matches
Test your skills: Object-oriented JavaScript - Learn web development
further help section at the bottom of this page.
...s an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
...lp you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
...And 5 more matches
Adding features to our bouncing balls demo - Learn web development
to save a separate copy of the demo after you get each stage working, so you can refer back to it if you find yourself in trouble later on.
...ber of balls left to capture.
... you an idea of what the finished program should look like: to give you more of an idea, have a look at the finished example (no peeking at the source code!) steps to complete the following sections describe what you need to do.
...And 4 more matches
Invariants
function whose scope chain ends in a different global object.
...e chain ends in a different global object.
... from cx->fp->scopechain, which can be stale if we're on trace.) the chain of properties starting at any js
shape and chasing js
shape::parent never forms a cycle and does not contain any duplicate jsscopeproperty::slot values other than -1.
...And 4 more matches
CanvasRenderingContext2D.rotate() - Web APIs
s 2d api adds a rotation to the transformation matrix.
...you can use degree * math.pi / 180 to calculate a radian from a degree.
... non-rotated rectangle ctx.fillstyle = 'gray'; ctx.fillrect(100, 0, 80, 20); // rotated rectangle ctx.rotate(45 * math.pi / 180); ctx.fillstyle = 'red'; ctx.fillrect(100, 0, 80, 20); // reset transformation matrix to the identity matrix ctx.settransform(1, 0, 0, 1, 0, 0); result the center of rotation is blue.
...And 4 more matches
text-emphasis - CSS: Cascading Style Sheets
t use.
...-emphasis: open; text-emphasis: filled sesame; text-emphasis: open sesame; /* keywords value combined with a color */ text-emphasis: filled sesame #555; /* global values */ text-emphasis: inherit; text-emphasis: initial; text-emphasis: unset; values none no emphasis marks.
... no emphasis marks.
...And 4 more matches
<area> - HTML: Hypertext Markup Language
at do not display images.
...aining the href attribute, this attribute specifies the relationship of the target object to the link object.
...href attribute, this attribute specifies the relationship of the target object to the link object.
...And 4 more matches
points - SVG: Scalable Vector Graphics
f points.
...if the attribute contains an odd number of coordinates, the last one will be ignored.
...aly considered best practices to separate a x and y coordinate with a comma and a group of coordinates by a space.
...And 4 more matches
refX - SVG: Scalable Vector Graphics
the refx attribute defines the x coordinate of an element’s reference point.
...er contents, after application of the viewbox and preserveaspectratio attributes.
...age values are interpreted as being a percentage of the viewbox width.
...And 4 more matches
refY - SVG: Scalable Vector Graphics
the refy attribute defines the y coordinate of an element’s reference point.
...ker contents, after application of the viewbox and preserveaspectratio attributes.
...entage values are interpreted as being a percentage of the viewbox height.
...And 4 more matches
CSS3 - Archive of obsolete content
f the element with the css box-shadow property.
... the css4 iteration of the backgrounds and borders specification is already in progress, though it still hasn't reached the first public working draft stage, it plans to add the ability to clip a border (with the css border-clip, border-clip-top, border-clip-right, border-clip-bottom, and border-clip-left properties) or to control the
shape of the border in a corner (using the css border-corner-
shape property).
...cript shadows with the css text-shadow property.
...And 3 more matches
nsACString_internal
ot be null-terminated.
... names: nsastring for wide characters nsacstring for narrow characters many of the accessors on nstsubstring are inlined as an optimization.
...timization.
...And 3 more matches
nsAString_internal
not be null-terminated.
...ng.
...an optimization.
...And 3 more matches
A basic 2D WebGL animation example - Web APIs
am shares with us the attribute avertexposition, which is the position of the vertex in whatever coordinate system it's using.
... multiplying the rotated position by the scaling vector provided by the javascript code in uscalingfactor.
...lue floating-point vector).
...And 3 more matches
-moz-image-region - CSS: Cascading Style Sheets
for certain xul elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image.
...on: rect(0, 8px, 4px, 4px); /* global values */ -moz-image-region: inherit; -moz-image-region: initial; -moz-image-region: unset; the syntax is similar to the clip property.
..., 8px, 4px, 4px); /* global values */ -moz-image-region: inherit; -moz-image-region: initial; -moz-image-region: unset; the syntax is similar to the clip property.
...And 3 more matches
d - SVG: Scalable Vector Graphics
0,90 q 10,60 10,30 z" /> </svg> path for <path>, d is a string containing a series of path commands that define the path to be drawn.
... animatable yes note: the point of origin (the coordinate 0,0) is usually the upper left corner of the context.
... closepath closepath instructions draw a straight line from the current position to the first point in the path.
...And 3 more matches
fill - SVG: Scalable Vector Graphics
the fill attribute has two different meanings.
...ibute fill can be used as a css property.
...ill is a presentation attribute that defines the color of the interior of the
shape.
...And 3 more matches
<polyline> - SVG: Scalable Vector Graphics
the <polyline> svg element is an svg basic
shape that creates straight lines connecting several points.
... the <polyline> svg element is an svg basic
shape that creates straight lines connecting several points.
... the <polyline> svg element is an svg basic
shape that creates straight lines connecting several points.
...And 3 more matches
Add a hitmap on top of an image - Learn web development
same map name as you used in your usemap attribute above: <map name="example-map-1"> </map> inside the <map> element, we need <area> elements.
... you used in your usemap attribute above: <map name="example-map-1"> </map> inside the <map> element, we need <area> elements.
...s to a single hotspot.
...And 2 more matches
Adding vector graphics to the Web - Learn web development
of image — raster images, and vector images: raster images are defined using a grid of pixels — a raster image file contains information showing exactly where each pixel is to be placed, and exactly what color it should be.
...page — the png image becomes pixellated as you zoom in because it contains information on where each pixel should be (and what color).
...l demo for a real example!
...And 2 more matches
Shell global objects
r() retrieve the sharedarraybuffer object from the cross-worker mailbox.
...edarraybuffer object from the cross-worker mailbox.
...t it references the same shared memory.
...And 2 more matches
nsAString (External)
class declaration this header provides wrapper classes around the frozen string api which are roughly equivalent to the internal string classes.
...ader provides wrapper classes around the frozen string api which are roughly equivalent to the internal string classes.
...asses"> <area alt="" coords="963,6,1045,54" href="http://developer.mozilla.org/en/nsastring_(external)"
shape="rect" title="nsastring_(external)"> <area alt="" coords="939,102,1069,150" href="http://developer.mozilla.org/en/nsstringcontainer_(external)"
shape="rect" title="nsstringcontainer_(external)"> <area alt="" coords="548,198,676,246" href="http://developer.mozilla.org/en/nsstring_external"
shape="rect" title="nsstring_external"> <area alt="" coords="700,198,913,246" href="http://developer.mozilla.org/en/nsdependentsubstring_external"
shape="rect" title="nsdependentsubstring_external"> <area alt="" coords="937,198,1071,246" href="http://developer.mozilla.org/en/promiseflatstring_(external)"
shape="rect" title="promiseflatstring_(external)"> <area alt="" coords="1095,198,1196,246" href="ht...
...And 2 more matches
Index - Firefox Developer Tools
, tools the grid inspector allows you to examine css grid layouts using the firefox devtools, discovering grids present on a page, examining and modifying them, debugging layout issues, and more.
...fox devtools, discovering grids present on a page, examining and modifying them, debugging layout issues, and more.
...covering grids present on a page, examining and modifying them, debugging layout issues, and more.
...And 2 more matches
CanvasRenderingContext2D.clip() - Web APIs
the canvasrenderingcontext2d.clip() method of the canvas 2d api turns the current or given path into the current clipping region.
...context2d.clip() method of the canvas 2d api turns the current or given path into the current clipping region.
...rns the current or given path into the current clipping region.
...And 2 more matches
CanvasRenderingContext2D.globalAlpha - Web APIs
the canvasrenderingcontext2d.globalalpha property of the canvas 2d api specifies the alpha (transparency) value that is applied to
shapes and images before they are drawn onto the canvas.
... onto the canvas.
...apes this example uses the globalalpha property to draw two semi-transparent rectangles.
...And 2 more matches
Basic animations - Web APIs
« previousnext » since we're using javascript to control <canvas> elements, it's also very easy to make (interactive) animations.
... the biggest limitation is, that once a
shape gets drawn, it stays that way.
...e to redraw it and everything that was drawn before it.
...And 2 more matches
<alpha-value> - CSS: Cascading Style Sheets
ion when animated, values of the <alpha-value> css data type are interpolated as real, floating-point numbers.
...he speed of the interpolation is determined by the timing function associated with the animation.
... the interpolation is determined by the timing function associated with the animation.
...And 2 more matches
clip - CSS: Cascading Style Sheets
the clip css property defines a visible portion of an element.
...ly to absolutely positioned elements — that is, elements with position:absolute or position:fixed.
... elements — that is, elements with position:absolute or position:fixed.
...And 2 more matches
mask - CSS: Cascading Style Sheets
| center | right ] | [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]?
... repeat-y | [ repeat | space | round | no-repeat ]{1,2}<geometry-box> = <
shape-box> | fill-box | stroke-box | view-box<compositing-operator> = add | subtract | intersect | exclude<masking-mode> = alpha | luminance | match-sourcewhere <image> = <url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient><mask-source> = <url><length-percentage> = <length> | <percentage><
shape-box> = <box> | margin-boxwhere <image()> = image( <image-tags>?
...<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...And 2 more matches
<path> - SVG: Scalable Vector Graphics
the <path> svg element is the generic element to define a
shape.
... the <path> svg element is the generic element to define a
shape.
...svg element is the generic element to define a
shape.
...And 2 more matches
<polygon> - SVG: Scalable Vector Graphics
the <polygon> element defines a closed
shape consisting of a set of connected straight line segments.
... the <polygon> element defines a closed
shape consisting of a set of connected straight line segments.
... closed
shape consisting of a set of connected straight line segments.
...And 2 more matches
Patterns - SVG: Scalable Vector Graphics
"0" y="0" width="50" height="50" fill="skyblue"/> <rect x="0" y="0" width="25" height="25" fill="url(#gradient2)"/> <circle cx="25" cy="25" r="20" fill="url(#gradient1)" fill-opacity="0.5"/> </pattern> </defs> <rect fill="url(#pattern)" stroke="black" width="200" height="200"/> </svg> screenshotlive sample inside the <pattern> element, you can include any of the other basic
shapes you've included before, and each of them can be styled using any of the styles you've learned before, including gradients and opacity.
...f the object you're applying the pattern to.
...the total box size.
...And 2 more matches
Object building practice - Learn web development
= canvas.getcontext('2d'); const width = canvas.width = window.innerwidth; const height = canvas.height = window.innerheight; this script gets a reference to the <canvas> element, then calls the getcontext() method on it to give us a context on which we can start to draw.
...lstyle = this.color; ctx.arc(this.x, this.y, this.size, 0, 2 * math.pi); ctx.fill(); } using this function, we can tell the ball to draw itself onto the screen, by calling a series of members of the 2d canvas context we defined earlier (ctx).
...ctx.fill(); } using this function, we can tell the ball to draw itself onto the screen, by calling a series of members of the 2d canvas context we defined earlier (ctx).
...eries of members of the 2d canvas context we defined earlier (ctx).
Bytecode Descriptions
the top of the stack.
...ts: import calls.
...he new object has a group based on the allocation site (or a new group if the template's group is a singleton).
... actually stored in the intrinsics holder object, globalobject::getintrinsicsholder.
JS_DumpHeap
that will be ignored during graph traversal.
...l.
...se trace kinds have a publicly exposed, although opaque, c++ type.
...bol = 0x02, jstrace_script = 0x03, //
shape details are exposed through js_trace
shapecyclecollectorchildren.
Transformations - Web APIs
ranslate the canvas to the center of the rectangle, then rotate the canvas, then translate the canvas back to 0,0, and then draw the rectangle.
...e the units the same size.
...rtesian coordinate system, with the origin in the bottom left corner).
...e unit on the canvas is exactly one pixel.
GlobalEventHandlers.oncontextmenu - Web APIs
istener() method instead, since it's more flexible.
... disabling context menus this snippet prevents context menus from opening in the window.
...text menu.
...ote" hidden>click to unpause.</p> css @keyframes spin { from { transform: rotate(0); } to { transform: rotate(1turn); } } .
shape { width: 8em; height: 8em; display: flex; align-items: center; justify-content: center; animation: spin 18s linear infinite; background: lightsalmon; border-radius: 42%; margin: 1em; } .paused { background-color: #ddd; } .paused .
shape { animation-play-state: paused; } javascript function pause(e) { body.classlist.add('paused'); note.removeattribute('hidden'); } function play(e) { body.classlist.remove('paused'); note.setattribute('hidden', ''); } const body = document.queryselector('body'); const note = document.queryselector('.note'); window.oncontextmenu = pause; window.onpointerdown = play; result specifi...
OscillatorNode.type - Web APIs
the type property of the oscillatornode interface specifies what
shape of waveform the oscillator will output.
... the type property of the oscillatornode interface specifies what
shape of waveform the oscillator will output.
... the type property of the oscillatornode interface specifies what
shape of waveform the oscillator will output.
... the type property of the oscillatornode interface specifies what
shape of waveform the oscillator will output.
Web Audio API - Web APIs
ou might want to consult some beginner's javascript tutorials first and then come back here — see our beginner's javascript learning module for a great place to begin.
...t, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once.
...volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once.
...iven gain to be applied to the input data before its propagation to the output.
XRBoundedReferenceSpace.boundsGeometry - Web APIs
ecifies the points making up a polygon inside which the viewer is allowed to move.
...of available movement space in any direction from the native origin.
...e movement space in any direction from the native origin.
...e ground is always at y = 0.
content - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
...internet">i was lucky enough to invent the web at the time when the internet already existed - and had for a decade and a half.</q> we must understand that there is nothing fundamentally wrong with building on the contributions of others.
filter - CSS: Cascading Style Sheets
rop-shadow)"/> <use xlink:href="#myimage"/> </svg> </div> </td> <td><img alt="test_form_4_s.jpg" id="img4" class="internal default" src="/files/3715/test_form_4_s.jpg" style="width: 100%;" /></td> </tr> <tr> <td><img alt="test_form_4 distorded border - original image" id="img11" class="internal default" src="/files/8467/test_form_4_irregular-
shape_opacity-gradient.png" style="width: 100%;" /></td> <td><img alt="test_form_4 distorded border - live example" id="img12" class="internal default" src="/files/8467/test_form_4_irregular-
shape_opacity-gradient.png" style="width: 100%;" /></td> <td> <div class="svg-container"> <svg xmlns="http://www.w3.org/2000/svg" id="img13" overflow="visible" viewbox="0 0 213 161" co...
..."internal default" src="/files/8467/test_form_4_irregular-
shape_opacity-gradient.png" style="width: 100%;" /></td> <td> <div class="svg-container"> <svg xmlns="http://www.w3.org/2000/svg" id="img13" overflow="visible" viewbox="0 0 213 161" color-interpolation-filters="srgb"> <defs> <image id="myimage2" xlink:href="/files/8467/test_form_4_irregular-
shape_opacity-gradient.png" width="213px" height="161px"/> </defs> <filter id="drop-shadow2" x="-50%" y="-50%" width="200%" height="200%"> <feoffset dx="5" dy="5.5" in="sourcealpha"/> <fegaussianblur stddeviation="2.5"/> <fecomponenttransfer> <fefunca type="table" tablevalues="0 0.8"/> </fecomponenttransfer>...
...="table" tablevalues="0 0.8"/> </fecomponenttransfer> </filter> <use xlink:href="#myimage2" filter="url(#drop-shadow2)"/> <use xlink:href="#myimage2"/> </svg> </div> </td> <td><img alt="test_form_4 distorded border drop shadow - static example" id="img14" class="internal default" src="/files/8469/test_form_4_irregular-
shape_opacity-gradient_drop-shadow.png" style="width: 100%;" /></td> </tr> </tbody> </table> html { height:100%; } body { font: 14px/1.286 "lucida grande","lucida sans unicode","dejavu sans",lucida,arial,helvetica,sans-serif; color: rgb(51, 51, 51); height:100%; overflow:hidden; } #img2 { width:100%; height:auto; -moz-filter: drop-shadow(16px 16px 10px black); -webkit-filter: ...
...ilter: drop-shadow(8px 9px 5px rgba(0,0,0,.8)); -webkit-filter: drop-shadow(8px 9px 5px rgba(0,0,0,.8)); -ms-filter: drop-shadow(8px 9px 5px rgba(0,0,0,.8)); filter: drop-shadow(8px 9px 5px rgba(0,0,0,.8)); } table.standard-table { border: 1px solid rgb(187, 187, 187); border-collapse: collapse; border-spacing: 0px; margin: 0px 0px 1.286em; width: 85%; height: 100%; } #irregular-
shape { width: 64%; } table.standard-table th { border: 1px solid rgb(187, 187, 187); padding: 0px 5px; background: none repeat scroll 0% 0% rgb(238, 238, 238); text-align: left; font-weight: bold; } table.standard-table td { padding: 5px; border: 1px solid rgb(204, 204, 204); text-align: left; vertical-align: top; width:25%; height:auto; } #img3, #img13 { width:100%; height...
clip-path - SVG: Scalable Vector Graphics
use> html,body,svg { height:100% } <svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <clippath id="myclip" clippathunits="objectboundingbox"> <circle cx=".5" cy=".5" r=".5" /> </clippath> <!-- top-left: apply a custom defined clipping path --> <rect x="1" y="1" width="8" height="8" stroke="green" clip-path="url(#myclip)" /> <!-- top-right: apply a css basic
shape on a fill-box geometry.
...on a fill-box geometry.
...8" stroke="green" clip-path="circle() stroke-box" /> <!-- bottom-right: apply a css basic
shape on a view-box geometry.
...aving a custom clipping path with a clippathunits set to userspaceonuse --> <rect x="11" y="11" width="8" height="8" stroke="green" clip-path="circle() view-box" /> </svg> usage notes value <url> | [ <basic-
shape> || <geometry-box> ] | none default value none animatable yes <geometry-box> an extra information to tell how a <basic-
shape> is applied to an element: fill-box indicates to use the object bounding box; stroke-box indicates to use the object bounding box extended with the stroke; view-box indicates to use the nearest svg viewport as the reference box.
orient - SVG: Scalable Vector Graphics
the orient attribute indicates how a marker is rotated when it is placed at its position on the
shape.
...ientation that would be used if auto where specified.
...that can be used for both the start and end of a path, i.e.
...h that the specified angle is that measured between the
shape's positive x-axis and the marker's positive x-axis.
requiredFeatures - SVG: Scalable Vector Graphics
ures: http://www.w3.org/tr/svg11/feature#coreattribute http://www.w3.org/tr/svg11/feature#structure http://www.w3.org/tr/svg11/feature#containerattribute http://www.w3.org/tr/svg11/feature#conditionalprocessing http://www.w3.org/tr/svg11/feature#image http://www.w3.org/tr/svg11/feature#style http://www.w3.org/tr/svg11/feature#viewportattribute http://www.w3.org/tr/svg11/feature#
shape http://www.w3.org/tr/svg11/feature#text http://www.w3.org/tr/svg11/feature#paintattribute http://www.w3.org/tr/svg11/feature#opacityattribute http://www.w3.org/tr/svg11/feature#graphicsattribute http://www.w3.org/tr/svg11/feature#marker http://www.w3.org/tr/svg11/feature#colorprofile http://www.w3.org/tr/svg11/feature#gradient http://www.w3.org/tr/svg11/feature#pattern http://ww...
...d the requiredfeatures, requiredextensions, systemlanguage attributes http://www.w3.org/tr/svg11/feature#image the browser supports the <image> element.
...roke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-width and color-rendering attributes http://www.w3.org/tr/svg11/feature#opacityattribute the browser supports the opacity, stroke-opacity and fill-opacity attributes http://www.w3.org/tr/svg11/feature#graphicsattribute the browser supports the display, image-rendering, pointer-events,
shape-rendering, text-rendering and visibility attributes http://www.w3.org/tr/svg11/feature#basicgraphicsattribute the browser supports the display and visibility attributes http://www.w3.org/tr/svg11/feature#marker the browser supports the <marker> element http://www.w3.org/tr/svg11/feature#colorprofile the browser supports the <color-profile> element http://www.w3.org/tr/svg11/f...
...esting : http://www.w3.org/tr/svg11/feature#viewportattribute --> <rect class="ko" x="10" y="385" height="25" width="430" /> <rect class="ok" x="10" y="385" height="25" width="430" requiredfeatures="http://www.w3.org/tr/svg11/feature#viewportattribute" /> <text x="20" y="402">http://www.w3.org/tr/svg11/feature#viewportattribute</text> <!-- testing : http://www.w3.org/tr/svg11/feature#
shape --> <rect class="ko" x="10" y="410" height="25" width="430" /> <rect class="ok" x="10" y="410" height="25" width="430" requiredfeatures="http://www.w3.org/tr/svg11/feature#
shape" /> <text x="20" y="427">http://www.w3.org/tr/svg11/feature#
shape</text> <!-- testing : http://www.w3.org/tr/svg11/feature#text --> <rect class="ko" x="10" y="435" height="25" width="430" /> <rect class="ok...
spreadMethod - SVG: Scalable Vector Graphics
the spreadmethod attribute determines how a
shape is filled beyond the defined edges of a gradient.
... the spreadmethod attribute determines how a
shape is filled beyond the defined edges of a gradient.
... animatable yes pad this value indicates that the final color of the gradient fills the
shape beyond the gradient's edges.
...dient's edges.
stroke-linejoin - SVG: Scalable Vector Graphics
the stroke-linejoin attribute is a presentation attribute defining the
shape to be used at the corners of paths when they are stroked.
...ight" x="8" y="6" /> </svg> usage context value arcs | bevel |miter | miter-clip | round default value miter animatable yes arcs note: the arcs value as been introduced in svg2 and it isn't widely supported yet, see browser compatibility bellow for details.
...troke-width="0.025" /> <circle cx="1" cy="5" r="0.05" fill="pink" /> <circle cx="3" cy="2" r="0.05" fill="pink" /> <circle cx="5" cy="5" r="0.05" fill="pink" /> </g> </svg> specifications specification status comment scalable vector graphics (svg) 2the definition of 'stroke-linejoin' in that specification.
...</svg> specifications specification status comment scalable vector graphics (svg) 2the definition of 'stroke-linejoin' in that specification.
stroke-opacity - SVG: Scalable Vector Graphics
the stroke-opacity attribute is a presentation attribute defining the opacity of the paint server (color, gradient, pattern, etc) applied to the stroke of a
shape.
...notes value [0-1] | <percentage> default value 1 animatable yes note: svg2 introduces percentage values for stroke-opacity, however, it is not widely supported yet (see browser compatibility below) as a consequence, it is best practices to set opacity with a value in the range [0-1].
... samsung internet android ?
...ity unknown specification specification status comment scalable vector graphics (svg) 2the definition of 'stroke-opacity' in that specification.
stroke-width - SVG: Scalable Vector Graphics
the stroke-width attribute is a presentation attribute defining the width of the stroke to be applied to the
shape.
... the stroke-width attribute is a presentation attribute defining the width of the stroke to be applied to the
shape.
...?
...ibility unknown specification specification status comment scalable vector graphics (svg) 2the definition of 'stroke-width' in that specification.
<a> - SVG: Scalable Vector Graphics
the <a> svg element creates a hyperlink to other web pages, files, locations in the same page, email addresses, or any other url.
... locations in the same page, email addresses, or any other url.
... class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, document element event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility xlink attributes most notably: xlink:title aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-des...
...lder, aria-posinset, aria-pressed, aria-readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements
shape elementsstructural elementsgradient elements<a>, <altglyphdef>, <clippath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignobject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view> specifications specification status comment scalable vector graphics (svg) 2the definition of '<a>' in that specification.
<marker> - SVG: Scalable Vector Graphics
the <marker> element defines the graphic that is to be used for drawing arrowheads or polymarkers on a given <path>, <line>, <polyline> or <polygon> element.
...fines the coordinate system for the attributes markerwidth, markerheight and the contents of the <marker>.
...ne; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
...lder, aria-posinset, aria-pressed, aria-readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements
shape elementsstructural elementsgradient elements<a>, <altglyphdef>, <clippath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignobject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view> specifications specification status comment svg markersthe definition of '<marker>' in that specification.
SVG 2 support in Mozilla - SVG: Scalable Vector Graphics
path commands to add path coordinate data to previous command implementation status unknown not render <path>, <polygon> and <polyline> with no data implementation status unknown svgpathseg*, svganimatedpathdata and related methods removed from svgpathelement implementation status unknown d attribute as css property implementation status unknown basic
shapes change notes pathlength attribute for all basic
shapes implementation status unknown svganimatedpoints.animatedpoints as alias of svganimatedpoints.points implementation status unknown auto behavior for rx and ry in <ellipse> implementation status unknown text change notes text-decoration-fill and text-decorati...
....animatedpoints as alias of svganimatedpoints.points implementation status unknown auto behavior for rx and ry in <ellipse> implementation status unknown text change notes text-decoration-fill and text-decoration-stroke properties not implemented yet (bug 1303569) inline-size attribute for <text> implementation status unknown
shape-inside property inplementation status unknown
shape-subtract property inplementation status unknown white-space implementation status unknown deprecated xml:space attribute implementation status unknown kerning property removed implementation status unknown path attribute for <textpath> implemented (bug 1446617) reference bas...
...side property inplementation status unknown
shape-subtract property inplementation status unknown white-space implementation status unknown deprecated xml:space attribute implementation status unknown kerning property removed implementation status unknown path attribute for <textpath> implemented (bug 1446617) reference basic
shapes to <textpath> implementation status unknown side attribute for <textpath> implemented (bug 1446650) render characters for one loop of a single closed path, effected by the startoffset attribute and text-anchor property implementation status unknown <tref> removed implementation status unknown <altglyph>, <altglyphdef>, <altglyphitem> and <glyphref>...
...79659) svgpaint removed implementation status unknown fill and stroke taking multiple paints implementation status unknown z-index not implemented (bug 360148 child(<integer>) paint value implementation status unknown display of zero-length subpaths depends on stroke-linecap attribute implementation status unknown markers on all
shapes implementation status unknown <marker> element display defined in ua style sheet implementation status unknown only single paints for fills and strokes implementation status unknown color change notes color managed images implementation status unknown rgba, hsl, lab, icc named colors and device colors implementation statu...
Index - Archive of obsolete content
ipt, css, and image files.
...e:css-property the -ms-wrap-flow css property is a microsoft extension that specifies how exclusions impact inline content within block-level elements.
... the -ms-wrap-flow css property is a microsoft extension that specifies how exclusions impact inline content within block-level elements.
Index - Game development
getting started working with 3d.
...ader, texture shader, three.js, vertex shader shaders use glsl (opengl shading language), a special opengl shading language with syntax similar to c.
...ce i hope you liked the experiments — if you have any others that you think might interest other people, feel free to add details of them here.
2D collision detection - Game development
algorithms to detect collision in 2d games depend on the type of
shapes that can collide (e.g.
... algorithms to detect collision in 2d games depend on the type of
shapes that can collide (e.g.
...n () { if (rect1.x < rect2.x + rect2.w && rect1.x + rect1.w > rect2.x && rect1.y < rect2.y + rect2.h && rect1.h + rect1.y > rect2.y) { // collision detected!
Bounding volume collision detection with THREE.js - Game development
this article shows how to implement collision detection between bounding boxes and spheres using the three.js library.
...ng boxhelper as an alternative to using raw box3 and sphere objects, three.js has a useful object to make handling bounding boxes easier: boxhelper (previously boundingboxhelper, which has been deprecated).
...three.js scene in order to render it.
GLSL Shaders - Game development
shaders use glsl (opengl shading language), a special opengl shading language with syntax similar to c.
... shaders use glsl (opengl shading language), a special opengl shading language with syntax similar to c.
... very complicated — very quickly.
nsACString (External)
class declaration <map id="classes" name="classes"><area alt="" coords="1005,6,1096,54" href="http://developer.mozilla.org/en/nsacstring_(external)"
shape="rect" title="nsacstring_(external)"> <area alt="" coords="980,102,1121,150" href="http://developer.mozilla.org/en/nscstringcontainer_(external)"
shape="rect" title="nscstringcontainer_(external)"> <area alt="" coords="571,198,707,246" href="http://developer.mozilla.org/en/nscstring_external"
shape="rect" title="nscstring_external"> <area alt="" coords="731,198,955,246" href="http://developer.mozilla.org/en/nsdependentcsubstring_external"
shape="rect" title="nsdependentcsubstring_external"> <area alt="" coords="979,198,1123,246" href="http://developer.mozilla.org/en/promiseflatcstring_(external)"
shape="rect" title="promiseflatcstring...
...198,955,246" href="http://developer.mozilla.org/en/nsdependentcsubstring_external"
shape="rect" title="nsdependentcsubstring_external"> <area alt="" coords="979,198,1123,246" href="http://developer.mozilla.org/en/promiseflatcstring_(external)"
shape="rect" title="promiseflatcstring_(external)"> <area alt="" coords="1147,198,1259,246" href="http://developer.mozilla.org/en/nscautostring_(external)"
shape="rect" title="nscautostring_(external)"> <area alt="" coords="5,294,208,342" href="http://developer.mozilla.org/en/nsdependentcstring_external"
shape="rect" title="nsdependentcstring_external"> <area alt="" coords="232,294,475,342" href="http://developer.mozilla.org/en/ns_convertutf16toutf8_external"
shape="rect" title="ns_convertutf16toutf8_external"> <area alt="" coords="499,294,779,342" href="...
...08,342" href="http://developer.mozilla.org/en/nsdependentcstring_external"
shape="rect" title="nsdependentcstring_external"> <area alt="" coords="232,294,475,342" href="http://developer.mozilla.org/en/ns_convertutf16toutf8_external"
shape="rect" title="ns_convertutf16toutf8_external"> <area alt="" coords="499,294,779,342" href="http://developer.mozilla.org/en/ns_lossyconvertutf16toascii_external"
shape="rect" title="ns_lossyconvertutf16toascii_external"> <area alt="" coords="803,294,925,342" href="http://developer.mozilla.org/en/nsliteralcstring_(external)"
shape="rect" title="nsliteralcstring_(external)"></map> method overview beginreading endreading charat operator[] first beginwriting endwriting setlength length...
Work with animations - Firefox Developer Tools
on or transition is shown as a horizontal bar laid across the timeline.
...ring over these selectors, we can see that those elements are, respectively, the browser name "firefox developer edition" and the browser icon.
... lasted 750ms, had an enddelay of 100ms used the compositor thread was given an easing value of ease-in: you can see this by the concave
shape of the green bar.
CanvasRenderingContext2D.arc() - Web APIs
/canvas> javascript the arc is given an x-coordinate of 100, a y-coordinate of 75, and a radius of 50.
...rdinate of 100, a y-coordinate of 75, and a radius of 50.
...lector('canvas'); const ctx = canvas.getcontext('2d'); ctx.beginpath(); ctx.arc(100, 75, 50, 0, 2 * math.pi); ctx.stroke(); result different
shapes demonstrated this example draws various
shapes to show what is possible with arc().
CanvasRenderingContext2D.createLinearGradient() - Web APIs
the canvasrenderingcontext2d.createlineargradient() method of the canvas 2d api creates a gradient along the line connecting two given coordinates.
...srenderingcontext2d.createlineargradient() method of the canvas 2d api creates a gradient along the line connecting two given coordinates.
...od of the canvas 2d api creates a gradient along the line connecting two given coordinates.
CanvasRenderingContext2D.createRadialGradient() - Web APIs
the canvasrenderingcontext2d.createradialgradient() method of the canvas 2d api creates a radial gradient using the size and coordinates of two circles.
...anvasrenderingcontext2d.createradialgradient() method of the canvas 2d api creates a radial gradient using the size and coordinates of two circles.
...method of the canvas 2d api creates a radial gradient using the size and coordinates of two circles.
CanvasRenderingContext2D.lineJoin - Web APIs
the canvasrenderingcontext2d.linejoin property of the canvas 2d api determines the
shape used to join two line segments where they meet.
...of zero (i.e., with all endpoints and control points at the exact same position) are also ignored.
... of connected segments.
CanvasRenderingContext2D.scale() - Web APIs
the canvasrenderingcontext2d.scale() method of the canvas 2d api adds a scaling transformation to the canvas units horizontally and/or vertically.
...caling transformation to the canvas units horizontally and/or vertically.
...drawn at twice the normal size.
HTMLAnchorElement - Web APIs
name.
...string representing that the rev html attribute, specifying the relationship of the link object to the target object.
...and hash, have been moved to the htmlhyperlinkelementutils mixin, and htmlanchorelement implements this mixin.
HTMLAreaElement - Web APIs
current document to the linked resource.
... htmlareaelement.rellist read only returns a domtokenlist that reflects the rel html attribute, indicating relationships of the current document to the linked resource, as a list of tokens.
... returns a domtokenlist that reflects the rel html attribute, indicating relationships of the current document to the linked resource, as a list of tokens.
SVGGeometryElement - Web APIs
the svggeometryelement interface represents svg elements whose rendering is defined by geometry with an equivalent path, and which can be filled and stroked.
...g 2 they were moved to this interface.
...thods from its parent, svggraphicselement.
WebGLRenderingContext.enableVertexAttribArray() - Web APIs
xattribpointer(avertexposition, vertexnumcomponents, gl.float, false, 0, 0); gl.drawarrays(gl.triangles, 0, vertexcount); this code snippet is taken from the function animatescene() in "a basic 2d webgl animation example." see that article for the full sample and to see the resulting animation in action.
...e so it can be used by the shader program (in particular, by the vertex shader).
...rtexposition attribute by calling vertexattribpointer().
WebGL model view projection - Web APIs
his point the w value of the transformed point is still 1.0.
...ch is typically ranged -1 to 1, then scale // it to be from 0 to some number, in this case 0-1.
... the scene.
Using bounded reference spaces - Web APIs
a set of 12 points representing the vertices of the available physical space.
...nch behind the user and a stand or table on which the computer or other hardware is located.
...und the room in clockwise order.
-webkit-box-reflect - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
additive-symbols - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
negative - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
pad - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
prefix - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
suffix - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
symbols - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
background-image - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
background - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
border-image-source - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
cross-fade() - CSS: Cascading Style Sheets
re <image-tags> = ltr | rtl<image-src> = <url> | <string><image-set-option> = [ <image> | <string> ] <resolution><id-selector> = <hash-token><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
... <hash-token><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...ent( [ <ending-
shape> | <size> ]?
mask-border-source - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
mask-image - CSS: Cascading Style Sheets
<image> | <string> ] <resolution><id-selector> = <hash-token><cf-mixing-image> = <percentage>?
...ge> | <color><linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]?
...l( <hue> <percentage> <percentage> [ / <alpha-value> ]?
Expressions and operators - JavaScript
ice.
...variable, keyword, or object for which the type is to be returned.
... type of value the property contains: typeof document.lastmodified; // returns "string" typeof window.length; // returns "number" typeof math.ln2; // returns "number" for methods and functions, the typeof operator returns results as follows: typeof blur; // returns "function" typeof eval; // returns "function" typeof parseint; // returns "function" typeof
shape.split; // returns "function" for predefined objects, the typeof operator returns results as follows: typeof date; // returns "function" typeof function; // returns "function" typeof math; // returns "object" typeof option; // returns "function" typeof string; // returns "function" void the void operator is used in either of the following ways: void (expression) void expression ...
Media - Progressive web apps (PWAs)
e:link any e element that is a hyperlink to a url that the user has not visited recently e:visited any e element that is a hyperlink to a url that the user has visited recently note: the information that can be obtained from the :visited selector is restricted in gecko 2.0.
...a hyperlink to a url that the user has not visited recently e:visited any e element that is a hyperlink to a url that the user has visited recently note: the information that can be obtained from the :visited selector is restricted in gecko 2.0.
...t that is a hyperlink to a url that the user has visited recently note: the information that can be obtained from the :visited selector is restricted in gecko 2.0.
fill-opacity - SVG: Scalable Vector Graphics
the fill-opacity attribute is a presentation attribute defining the opacity of the paint server (color, gradient, pattern, etc) applied to a
shape.
... samsung internet android ?
...bility unknown specifications specification status comment scalable vector graphics (svg) 2the definition of 'fill-opacity' in that specification.
stroke-dasharray - SVG: Scalable Vector Graphics
the stroke-dasharray attribute is a presentation attribute defining the pattern of dashes and gaps used to paint the outline of the
shape; note: as a presentation attribute, stroke-dasharray can be used as a css property.
... samsung internet android ?
...unknown specification specification status comment scalable vector graphics (svg) 2the definition of 'stroke-dasharray' in that specification.
stroke-linecap - SVG: Scalable Vector Graphics
the stroke-linecap attribute is a presentation attribute defining the
shape to be used at the end of open subpaths when they are stroked.
... samsung internet android ?
...ity unknown specification specification status comment scalable vector graphics (svg) 2the definition of 'stroke-linecap' in that specification.
stroke - SVG: Scalable Vector Graphics
the stroke attribute is a presentation attribute defining the color (or any svg paint servers like gradients or patterns) used to paint the outline of the
shape; note: as a presentation attribute stroke can be used as a css property.
... <circle cx="15" cy="5" r="4" fill="none" stroke="url(#mygradient)" /> </svg> usage notes value <paint> default value none animatable yes specifications specification status comment scalable vector graphics (svg) 2the definition of 'stroke' in that specification.
... specification status comment scalable vector graphics (svg) 2the definition of 'stroke' in that specification.
<circle> - SVG: Scalable Vector Graphics
the <circle> svg element is an svg basic
shape, used to draw circles based on a center point and a radius.
...y: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
...y, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic
shape element, graphics element,
shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specifications specification status comment scalable vector graphics (svg) 2the definition of '<circle>' in that specification.
<ellipse> - SVG: Scalable Vector Graphics
the <ellipse> element is an svg basic
shape, used to create ellipses based on a center coordinate, and both their x and y radius.
...y: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
...y, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic
shape element, graphics element,
shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specifications specification status comment scalable vector graphics (svg) 2the definition of '<ellipse>' in that specification.
<line> - SVG: Scalable Vector Graphics
the <line> element is an svg basic
shape used to create a line connecting two points.
...y: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
...y, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic
shape element, graphics element,
shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specifications specification status comment scalable vector graphics (svg) 2the definition of '<line>' in that specification.
<mask> - SVG: Scalable Vector Graphics
ything under a white pixel will be visible --> <rect x="0" y="0" width="100" height="100" fill="white" /> <!-- everything under a black pixel will be invisible --> <path d="m10,35 a20,20,0,0,1,50,35 a20,20,0,0,1,90,35 q90,65,50,95 q10,65,10,35 z" fill="black" /> </mask> <polygon points="-10,110 110,110 110,-10" fill="orange" /> <!-- with this mask applied, we "punch" a heart
shape hole into the circle --> <circle cx="50" cy="50" r="50" mask="url(#mymask)" /> </svg> attributes height this attribute defines the height of the masking area.
...the width of the masking area.
... color, display, fill, fill-opacity, fill-rule, filter, mask, opacity,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility usage notes categoriescontainer elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements
shape elementsstructural elementsgradient elements<a>, <altglyphdef>, <clippath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignobject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view> specifications specification status comment css masking module level 1the definition of '<mask>' in that specification.
<rect> - SVG: Scalable Vector Graphics
the <rect> element is a basic svg
shape that draws rectangles, defined by their position, width, and height.
...y: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
...y, aria-level, aria-live, aria-modal, aria-multiline, aria-multiselectable, aria-orientation, aria-owns, aria-placeholder, aria-posinset, aria-pressed, aria-readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriesbasic
shape element, graphics element,
shape elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements specifications specification status comment scalable vector graphics (svg) 2the definition of '<rect>' in that specification.
<textPath> - SVG: Scalable Vector Graphics
to render text along the
shape of a <path>, enclose the text in a <textpath> element that has an href attribute with a reference to the <path> element.
... the path, it is usually wrapped in a <defs> element --> <!-- <defs> --> <path id="mypath" fill="none" stroke="red" d="m10,90 q90,90 90,45 q90,10 50,10 q10,10 10,40 q10,70 45,70 q70,70 75,50" /> <!-- </defs> --> <text> <textpath href="#mypath"> quick brown fox jumps over the lazy dog.
...y: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
Fills and Strokes - SVG: Scalable Vector Graphics
« previousnext » there are several ways to color
shapes (including specifying attributes on the object) using inline css, an embedded css section, or an external css file.
.../> <line x1="40" x2="120" y1="100" y2="100" stroke="black" stroke-width="20" stroke-linecap="round"/> </svg> the stroke-width property defines the width of this stroke.
...omplicated dash pattern.
Introduction - SVG: Scalable Vector Graphics
« previousnext » svg is an xml language, similar to xhtml, which can be used to draw vector graphics, such as the ones shown to the right.
...and not requiring third-party extensions.
...basic ingredients html provides elements for defining headers, paragraphs, tables, and so on.
Document Loading - From Load Start to Finding a Handler - Archive of obsolete content
e nsiexternalhelperappservice and let it look for a helper app, put up the "what do i do now?" dialog, and so forth.
...alt="(12)" coords="539,133,583,163" href="#stream-converter"> <area alt="(11)" coords="485,133,537,163" href="#contenthandler"> <area alt="(9)" coords="445,132,484,165" href="#nsdocumentopeninfo::dispatchcontent"> <area alt="(8)" coords="405,133,439,162" href="#onstartrequest-innards"> <area alt="(7) onstartrequest()" coords="639,129,703,129,703,165,833,165,833,204,639,204" href="#onstartrequest"
shape="poly"> <area alt="(6) asyncopen()" coords="637,121,709,121,709,96,783,96,783,58,637,58" href="#asyncopen"
shape="poly"> <area alt="(5) open()" coords="311,306,432,371" href="#open"> <area alt="(4)" coords="90,384,127,417" href="#openuri-innards"> <area alt="(0) registercontentlistener()" coords="37,474,346,474,346,505,88,505,88,535,37,535" href="#registercontentlistener"
shape="poly"> <area alt=...
OscillatorNode.setPeriodicWave() - Web APIs
the setperiodicwave() method of the oscillatornode interface is used to point to a periodicwave defining a periodic waveform that can be used to
shape the oscillator's output, when type is custom.
... the setperiodicwave() method of the oscillatornode interface is used to point to a periodicwave defining a periodic waveform that can be used to
shape the oscillator's output, when type is custom.
Realizing common layouts using CSS Grid Layout - CSS: Cascading Style Sheets
redefine our layout for the circumstance of having enough screen real estate to show two columns.
...tent { grid-column: col-start 3 / span 8; grid-row: 2 / 4; } .side { grid-column: col-start 11 / span 2; grid-row: 2; } .ad { grid-column: col-start 11 / span 2; grid-row: 3; } .main-footer { grid-column: col-start / span 12; } nav ul { flex-direction: column; } } once again the grid inspector is useful to help us see how our layout has taken
shape.
CSS data types - CSS: Cascading Style Sheets
ts) accepted by css properties and functions.
... <attr-name> <basic-
shape> <blend-mode> <calc-product> <calc-sum> <calc-value> <color> <color-stop> <color-stop-angle> <counter-style> <custom-ident> <dimension> <filter-function> <flex> <frequency> <frequency-percentage> <gradient> <ident> <image> <integer> <length> <length-percentage> <number> <number-percentage> <percentage> <position> <quote> <ratio> <resolution> <
shape-box> <
shape-radius> <string> <time> <time-percentage> <timing-function> <toggle-value> <transform-function> <type-or-unit> <url> <url-modifier> <zero> specifications specification status comment css values and units module level 4 editor's draft css values and units module level 3 candidate recommendation initial definition.
CSS reference - CSS: Cascading Style Sheets
mation-delayanimation-directionanimation-durationanimation-fill-modeanimation-iteration-countanimation-nameanimation-play-stateanimation-timing-function@annotationannotation()attr()b::backdropbackdrop-filterbackface-visibilitybackgroundbackground-attachmentbackground-blend-modebackground-clipbackground-colorbackground-imagebackground-originbackground-positionbackground-repeatbackground-size<basic-
shape>::before (:before)bleed (@page)<blend-mode>block-sizeblur()borderborder-blockborder-block-colorborder-block-endborder-block-end-colorborder-block-end-styleborder-block-end-widthborder-block-startborder-block-start-colorborder-block-start-styleborder-block-start-widthborder-block-styleborder-block-widthborder-bottomborder-bottom-colorborder-bottom-left-radiusborder-bottom-right-radiusborder-bottom...
...artscroll-margin-leftscroll-margin-rightscroll-margin-topscroll-paddingscroll-padding-blockscroll-padding-block-endscroll-padding-block-startscroll-padding-bottomscroll-padding-inlinescroll-padding-inline-endscroll-padding-inline-startscroll-padding-leftscroll-padding-rightscroll-padding-topscroll-snap-alignscroll-snap-stopscroll-snap-typescrollbar-colorscrollbar-width::selectionselector()sepia()<
shape>
shape-image-threshold
shape-margin
shape-outsidesize (@page)skew()skewx()skewy()::slottedspeak-as (@counter-style)src (@font-face)steps()<string>@stylesetstyleset()@stylisticstylistic()suffix (@counter-style)@supports@swashswash()symbols (@counter-style)symbols()system (@counter-style)ttab-sizetable-layout:targettarget-counter()target-counters()target-text()text-aligntext-align-lasttext-combine-upr...
WebKit CSS extensions - CSS: Cascading Style Sheets
ustify-content -webkit-justify-items -webkit-justify-self -webkit-line-break m -webkit-mask -webkit-mask-clip -webkit-mask-composite -webkit-mask-image -webkit-mask-origin -webkit-mask-position -webkit-mask-repeat -webkit-mask-size o-r -webkit-opacity -webkit-order -webkit-perspective -webkit-perspective-origin -webkit-ruby-position s -webkit-scroll-snap-type -webkit-
shape-image-threshold -webkit-
shape-margin -webkit-
shape-outside t -epub-text-decoration -webkit-text-color-decoration -webkit-text-decoration-line -webkit-text-decoration-style -epub-text-emphasis -webkit-text-emphasis -epub-text-emphasis-color -webkit-text-emphasis-color -webkit-text-emphasis-position -epub-text-emphasis-style -webkit-text-emphasis-style -webkit-text-justify -webki...
...ction -webkit-flow-from -webkit-flow-into -webkit-grid-columns (see grid-column) -webkit-grid-rows (see grid-row) -webkit-hyphenate-charset -webkit-image-set (see image-set()) -webkit-mask-attachment -webkit-match-nearest-mail-blockquote-color -webkit-overflow-scrolling -webkit-region-break-after -webkit-region-break-before -webkit-region-break-inside -webkit-region-fragment -webkit-
shape-inside -webkit-touch-callout (see touch-action) background-origin-x (unprefixed!) background-origin-y (unprefixed!) * still supported in the safari technology preview, but not in a generally released browser.
font-optical-sizing - CSS: Cascading Style Sheets
d like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
...ttps://github.com/mdn/interactive-examples and send us a pull request.
vector-effect - SVG: Scalable Vector Graphics
, <polygon>, <polyline>, <rect>, <text>, <textpath> <tspan>, and <use> usage notes value none | non-scaling-stroke | non-scaling-size | non-rotation | fixed-position default value none animatable yes none this value specifies that no vector effect shall be applied, i.e.
... animatable yes none this value specifies that no vector effect shall be applied, i.e.
x1 - SVG: Scalable Vector Graphics
the gradient stop values.
...!-- by default the gradient vector start at the left bounding limit of the
shape it is applied to --> <lineargradient x1="0%" id="g0"> <stop offset="0" stop-color="black" /> <stop offset="100%" stop-color="red" /> </lineargradient> <rect x="1" y="1" width="8" height="8" fill="url(#g0)" /> <!-- here the gradient vector start at 80% of the left bounding limit of the
shape it is applied to --> <lineargradient x1="80%" id="g1"> <stop offset="0" stop-color="black" /> <stop offset="100%" stop-color="red" /> </lineargradient> <rect x="11" y="1" width="8" height="8" fill="url(#g1)" /> </svg> specifications specification status comment scalable vector graphics (svg) 2the definition of 'x1' in that specification.
x2 - SVG: Scalable Vector Graphics
the gradient stop values.
...-- by default the gradient vector end at the right bounding limit of the
shape it is applied to --> <lineargradient x2="100%" id="g0"> <stop offset="0" stop-color="black" /> <stop offset="100%" stop-color="red" /> </lineargradient> <rect x="1" y="1" width="8" height="8" fill="url(#g0)" /> <!-- here the gradient vector start at 20% of the left bounding limit of the
shape it is applied to --> <lineargradient x2="20%" id="g1"> <stop offset="0" stop-color="black" /> <stop offset="100%" stop-color="red" /> </lineargradient> <rect x="11" y="1" width="8" height="8" fill="url(#g1)" /> </svg> specifications specification status comment scalable vector graphics (svg) 2the definition of 'x2' in that specification.
SVG Attribute reference - SVG: Scalable Vector Graphics
s p panose-1 paint-order path pathlength patterncontentunits patterntransform patternunits ping pointer-events points pointsatx pointsaty pointsatz preservealpha preserveaspectratio primitiveunits r r radius referrerpolicy refx refy rel rendering-intent repeatcount repeatdur requiredextensions requiredfeatures restart result rotate rx ry s scale seed
shape-rendering slope spacing specularconstant specularexponent speed spreadmethod startoffset stddeviation stemh stemv stitchtiles stop-color stop-opacity strikethrough-position strikethrough-thickness string stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width style surfacescale systemlanguage t tabindex...
...lay, dominant-baseline, enable-background, fill, fill-opacity, fill-rule, filter, flood-color, flood-opacity, font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight, glyph-orientation-horizontal, glyph-orientation-vertical, image-rendering, kerning, letter-spacing, lighting-color, marker-end, marker-mid, marker-start, mask, opacity, overflow, pointer-events,
shape-rendering, stop-color, stop-opacity, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, text-anchor, text-decoration, text-rendering, transform, transform-origin, unicode-bidi, vector-effect, visibility, word-spacing, writing-mode filters attributes filter primitive attributes height, result, width, x, y transfer func...
<animateColor> - SVG: Scalable Vector Graphics
this element has been deprecated in svg 1.1 second edition and may be removed in a future version of svg.
... this element has been deprecated in svg 1.1 second edition and may be removed in a future version of svg.
<g> - SVG: Scalable Vector Graphics
y: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
... aria-pressed, aria-readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer element, structural elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements
shape elementsstructural elementsgradient elements<a>, <altglyphdef>, <clippath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignobject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view> specifications specification status comment scalable vector graphics (svg) 2the definition of '<g>' in that specification.
<linearGradient> - SVG: Scalable Vector Graphics
n to the gradient coordinate system.
...; default value: 0%; animatable: yes global attributes core attributes most notably: id styling attributes class, style event attributes global event attributes, document element event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility xlink attributes xlink:href, xlink:title usage notes categoriesgradient elementpermitted contentany number of the following elements, in any order:descriptive elements<animate>, <animatetransform>, <set>, <stop> specif...
<radialGradient> - SVG: Scalable Vector Graphics
ype: <url> ; default value: none; animatable: yes r this attribute defines the radius of the end circle of the radial gradient.
...default value: none; animatable: yes global attributes core attributes most notably: id styling attributes class, style event attributes global event attributes, document element event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility xlink attributes xlink:href, xlink:title usage notes categoriesgradient elementpermitted contentany number of the following elements, in any order:descriptive elements<animate>, <animatetransform>, <set>, <stop> specif...
<svg> - SVG: Scalable Vector Graphics
processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes, document event attributes, document element event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
... aria-pressed, aria-readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer element, structural elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements
shape elementsstructural elementsgradient elements<a>, <altglyphdef>, <clippath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignobject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view> specifications specification status comment scalable vector graphics (svg) 2the definition of '<svg>' in that specification.
<symbol> - SVG: Scalable Vector Graphics
ble: yes global attributes core attributes most notably: id styling attributes class, style event attributes global event attributes, document element event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
... aria-pressed, aria-readonly, aria-relevant, aria-required, aria-roledescription, aria-rowcount, aria-rowindex, aria-rowspan, aria-selected, aria-setsize, aria-sort, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role usage notes categoriescontainer element, structural elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements
shape elementsstructural elementsgradient elements<a>, <altglyphdef>, <clippath>, <color-profile>, <cursor>, <filter>, <font>, <font-face>, <foreignobject>, <image>, <marker>, <mask>, <pattern>, <script>, <style>, <switch>, <text>, <view> note: a <symbol> element itself is not meant to be rendered.
SVG element reference - SVG: Scalable Vector Graphics
> <mpath> p <path> <pattern> <polygon> <polyline> r <radialgradient> <rect> s <script> <set> <solidcolor> <stop> <style> <svg> <switch> <symbol> t <text> <textpath> <title> <tspan> u <unknown> <use> v <view> svg elements by category animation elements <animate>, <animatecolor>, <animatemotion>, <animatetransform>, <discard>, <mpath>, <set> basic
shapes <circle>, <ellipse>, <line>, <polygon>, <polyline>, <rect> container elements <a>, <defs>, <g>, <marker>, <mask>, <missing-glyph>, <pattern>, <svg>, <switch>, <symbol>, <unknown> descriptive elements <desc>, <metadata>, <title> filter primitive elements <feblend>, <fecolormatrix>, <fecomponenttransfer>, <fecomposite>, <feconvolvematrix>, <fediffuselighting>, <fedisplacementmap>, <fedropsh...
...nt>, <metadata>, <pattern>, <radialgradient>, <script>, <style>, <symbol>, <title> paint server elements <hatch>, <lineargradient>, <meshgradient>, <pattern>, <radialgradient>, <solidcolor> renderable elements <a>, <circle>, <ellipse>, <foreignobject>, <g>, <image>, <line>, <mesh>, <path>, <polygon>, <polyline>, <rect>, <svg>, <switch>, <symbol>, <text>, <textpath>, <tspan>, <unknown>, <use>
shape elements <circle>, <ellipse>, <line>, <mesh>, <path>, <polygon>, <polyline>, <rect> structural elements <defs>, <g>, <svg>, <symbol>, <use> text content elements <altglyph>, <altglyphdef>, <altglyphitem>, <glyph>, <glyphref>, <textpath>, <text>, <tref>, <tspan> text content child elements <altglyph>, <textpath>, <tref>, <tspan> uncategorized elements <clippath>, <color-profile>, <cursor>...
Canvas code snippets - Archive of obsolete content
i = 0; i < all; i += 4) { if (pixels.data[i] === r && pixels.data[i + 1] === g && pixels.data[i + 2] === b) { amount++; } } return amount; }; getting the color of a pixel in a canvas this following snippet returns an object with the rgba values of the pixel at position x and y of the canvas.
<altGlyph> - SVG: Scalable Vector Graphics
ditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, document element event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, dominant-baseline, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, text-anchor, transform, vector-effect, visibility xlink attributes xlink:href, xlink:type, xlink:role, xlink:arcrole, xlink:title, xlink:show, xlink:actuate dom interface this element implements the svgaltglyphelement interface.
<clipPath> - SVG: Scalable Vector Graphics
lue type: userspaceonuse|objectboundingbox ; default value: userspaceonuse; animatable: yes global attributes core attributes most notably: id styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage presentation attributes most notably: clip-path, clip-rule, color, display, fill, fill-opacity, fill-rule, filter, mask, opacity,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility usage notes categoriesnonepermitted contentany number of the following elements, in any order:animation elementsdescriptive elements
shape elements<text>, <use> specifications specification status comment ...
<defs> - SVG: Scalable Vector Graphics
utes global attributes core attributes most notably: id lang styling attributes class, style event attributes global event attributes, document element event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility usage notes categoriescontainer element, structural elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements
shape elementsstructural elementsgradient elements<a>, <...
<feComposite> - SVG: Scalable Vector Graphics
525,25)" xlink:href="#twobluetriangles"/> <use transform="translate(650,25)" xlink:href="#twobluetriangles"/> <use transform="translate(775,25)" xlink:href="#twobluetriangles"/> <use transform="translate(900,25)" xlink:href="#twobluetriangles"/> </g> </defs> <rect fill="none" stroke="blue" x="1" y="1" width="1098" height="648"/> <g font-family="verdana" font-size="40"
shape-rendering="crispedges"> <desc>render the examples using the filters that draw on top of an opaque white surface, thus obliterating the background.</desc> <g enable-background="new"> <text x="15" y="75">opacity 1.0</text> <text x="15" y="115" font-size="27">(with feflood)</text> <text x="15" y="200">opacity 0.5</text> <text x="15" y="240" font-size="27">(w...
<foreignObject> - SVG: Scalable Vector Graphics
processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes, document event attributes, document element event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...
<pattern> - SVG: Scalable Vector Graphics
0; animatable: yes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility xlink attributes most notably: xlink:title usage notes categoriescontainer elementpermitted contentany number of the following elements, in any order:animation elementsdescriptive elements
shape elementsstructural elemen...
<text> - SVG: Scalable Vector Graphics
yle, font-variant, font-weight conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, dominant-baseline, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, text-anchor, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-dis...
<tspan> - SVG: Scalable Vector Graphics
yling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, dominant-baseline, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, text-anchor, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-dis...
<use> - SVG: Scalable Vector Graphics
y: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events,
shape-rendering, stroke, stroke-dasharray, stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width, transform, vector-effect, visibility aria attributes aria-activedescendant, aria-atomic, aria-autocomplete, aria-busy, aria-checked, aria-colcount, aria-colindex, aria-colspan, aria-controls, aria-current, aria-describedby, aria-details, aria-disabled, aria-d...