diff --git a/cg/canvas.md b/cg/canvas.md index 19a65ca..0540cdd 100644 --- a/cg/canvas.md +++ b/cg/canvas.md @@ -25,4 +25,4 @@ */ CanvasRenderingContext2D.isPointInPath() ``` -[Applying winding rules to a path](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CocoaDrawingGuide/Art/winding_path_crossing_2x.png) \ No newline at end of file +![Applying winding rules to a path](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CocoaDrawingGuide/Art/winding_path_crossing_2x.png) \ No newline at end of file diff --git a/math/algebra.html b/html/algebra.html similarity index 100% rename from math/algebra.html rename to html/algebra.html diff --git a/math/es5/core.js b/html/es5/core.js similarity index 100% rename from math/es5/core.js rename to html/es5/core.js diff --git a/math/es5/input/asciimath.js b/html/es5/input/asciimath.js similarity index 100% rename from math/es5/input/asciimath.js rename to html/es5/input/asciimath.js diff --git a/math/es5/input/mml.js b/html/es5/input/mml.js similarity index 100% rename from math/es5/input/mml.js rename to html/es5/input/mml.js diff --git a/math/es5/input/mml/entities.js b/html/es5/input/mml/entities.js similarity index 100% rename from math/es5/input/mml/entities.js rename to html/es5/input/mml/entities.js diff --git a/math/es5/input/mml/extensions/mml3.js b/html/es5/input/mml/extensions/mml3.js similarity index 100% rename from math/es5/input/mml/extensions/mml3.js rename to html/es5/input/mml/extensions/mml3.js diff --git a/math/es5/input/mml/extensions/mml3.sef.json b/html/es5/input/mml/extensions/mml3.sef.json similarity index 100% rename from math/es5/input/mml/extensions/mml3.sef.json rename to html/es5/input/mml/extensions/mml3.sef.json diff --git a/math/es5/input/tex-base.js b/html/es5/input/tex-base.js similarity index 100% rename from math/es5/input/tex-base.js rename to html/es5/input/tex-base.js diff --git a/math/es5/input/tex-full.js b/html/es5/input/tex-full.js similarity index 100% rename from math/es5/input/tex-full.js rename to html/es5/input/tex-full.js diff --git a/math/es5/input/tex.js b/html/es5/input/tex.js similarity index 100% rename from math/es5/input/tex.js rename to html/es5/input/tex.js diff --git a/math/es5/input/tex/extensions/action.js b/html/es5/input/tex/extensions/action.js similarity index 100% rename from math/es5/input/tex/extensions/action.js rename to html/es5/input/tex/extensions/action.js diff --git a/math/es5/input/tex/extensions/all-packages.js b/html/es5/input/tex/extensions/all-packages.js similarity index 100% rename from math/es5/input/tex/extensions/all-packages.js rename to html/es5/input/tex/extensions/all-packages.js diff --git a/math/es5/input/tex/extensions/ams.js b/html/es5/input/tex/extensions/ams.js similarity index 100% rename from math/es5/input/tex/extensions/ams.js rename to html/es5/input/tex/extensions/ams.js diff --git a/math/es5/input/tex/extensions/amscd.js b/html/es5/input/tex/extensions/amscd.js similarity index 100% rename from math/es5/input/tex/extensions/amscd.js rename to html/es5/input/tex/extensions/amscd.js diff --git a/math/es5/input/tex/extensions/autoload.js b/html/es5/input/tex/extensions/autoload.js similarity index 100% rename from math/es5/input/tex/extensions/autoload.js rename to html/es5/input/tex/extensions/autoload.js diff --git a/math/es5/input/tex/extensions/bbox.js b/html/es5/input/tex/extensions/bbox.js similarity index 100% rename from math/es5/input/tex/extensions/bbox.js rename to html/es5/input/tex/extensions/bbox.js diff --git a/math/es5/input/tex/extensions/boldsymbol.js b/html/es5/input/tex/extensions/boldsymbol.js similarity index 100% rename from math/es5/input/tex/extensions/boldsymbol.js rename to html/es5/input/tex/extensions/boldsymbol.js diff --git a/math/es5/input/tex/extensions/braket.js b/html/es5/input/tex/extensions/braket.js similarity index 100% rename from math/es5/input/tex/extensions/braket.js rename to html/es5/input/tex/extensions/braket.js diff --git a/math/es5/input/tex/extensions/bussproofs.js b/html/es5/input/tex/extensions/bussproofs.js similarity index 100% rename from math/es5/input/tex/extensions/bussproofs.js rename to html/es5/input/tex/extensions/bussproofs.js diff --git a/math/es5/input/tex/extensions/cancel.js b/html/es5/input/tex/extensions/cancel.js similarity index 100% rename from math/es5/input/tex/extensions/cancel.js rename to html/es5/input/tex/extensions/cancel.js diff --git a/math/es5/input/tex/extensions/cases.js b/html/es5/input/tex/extensions/cases.js similarity index 100% rename from math/es5/input/tex/extensions/cases.js rename to html/es5/input/tex/extensions/cases.js diff --git a/math/es5/input/tex/extensions/centernot.js b/html/es5/input/tex/extensions/centernot.js similarity index 100% rename from math/es5/input/tex/extensions/centernot.js rename to html/es5/input/tex/extensions/centernot.js diff --git a/math/es5/input/tex/extensions/color.js b/html/es5/input/tex/extensions/color.js similarity index 100% rename from math/es5/input/tex/extensions/color.js rename to html/es5/input/tex/extensions/color.js diff --git a/math/es5/input/tex/extensions/colortbl.js b/html/es5/input/tex/extensions/colortbl.js similarity index 100% rename from math/es5/input/tex/extensions/colortbl.js rename to html/es5/input/tex/extensions/colortbl.js diff --git a/math/es5/input/tex/extensions/colorv2.js b/html/es5/input/tex/extensions/colorv2.js similarity index 100% rename from math/es5/input/tex/extensions/colorv2.js rename to html/es5/input/tex/extensions/colorv2.js diff --git a/math/es5/input/tex/extensions/configmacros.js b/html/es5/input/tex/extensions/configmacros.js similarity index 100% rename from math/es5/input/tex/extensions/configmacros.js rename to html/es5/input/tex/extensions/configmacros.js diff --git a/math/es5/input/tex/extensions/empheq.js b/html/es5/input/tex/extensions/empheq.js similarity index 100% rename from math/es5/input/tex/extensions/empheq.js rename to html/es5/input/tex/extensions/empheq.js diff --git a/math/es5/input/tex/extensions/enclose.js b/html/es5/input/tex/extensions/enclose.js similarity index 100% rename from math/es5/input/tex/extensions/enclose.js rename to html/es5/input/tex/extensions/enclose.js diff --git a/math/es5/input/tex/extensions/extpfeil.js b/html/es5/input/tex/extensions/extpfeil.js similarity index 100% rename from math/es5/input/tex/extensions/extpfeil.js rename to html/es5/input/tex/extensions/extpfeil.js diff --git a/math/es5/input/tex/extensions/gensymb.js b/html/es5/input/tex/extensions/gensymb.js similarity index 100% rename from math/es5/input/tex/extensions/gensymb.js rename to html/es5/input/tex/extensions/gensymb.js diff --git a/math/es5/input/tex/extensions/html.js b/html/es5/input/tex/extensions/html.js similarity index 100% rename from math/es5/input/tex/extensions/html.js rename to html/es5/input/tex/extensions/html.js diff --git a/math/es5/input/tex/extensions/mathtools.js b/html/es5/input/tex/extensions/mathtools.js similarity index 100% rename from math/es5/input/tex/extensions/mathtools.js rename to html/es5/input/tex/extensions/mathtools.js diff --git a/math/es5/input/tex/extensions/mhchem.js b/html/es5/input/tex/extensions/mhchem.js similarity index 100% rename from math/es5/input/tex/extensions/mhchem.js rename to html/es5/input/tex/extensions/mhchem.js diff --git a/math/es5/input/tex/extensions/newcommand.js b/html/es5/input/tex/extensions/newcommand.js similarity index 100% rename from math/es5/input/tex/extensions/newcommand.js rename to html/es5/input/tex/extensions/newcommand.js diff --git a/math/es5/input/tex/extensions/noerrors.js b/html/es5/input/tex/extensions/noerrors.js similarity index 100% rename from math/es5/input/tex/extensions/noerrors.js rename to html/es5/input/tex/extensions/noerrors.js diff --git a/math/es5/input/tex/extensions/noundefined.js b/html/es5/input/tex/extensions/noundefined.js similarity index 100% rename from math/es5/input/tex/extensions/noundefined.js rename to html/es5/input/tex/extensions/noundefined.js diff --git a/math/es5/input/tex/extensions/physics.js b/html/es5/input/tex/extensions/physics.js similarity index 100% rename from math/es5/input/tex/extensions/physics.js rename to html/es5/input/tex/extensions/physics.js diff --git a/math/es5/input/tex/extensions/require.js b/html/es5/input/tex/extensions/require.js similarity index 100% rename from math/es5/input/tex/extensions/require.js rename to html/es5/input/tex/extensions/require.js diff --git a/math/es5/input/tex/extensions/setoptions.js b/html/es5/input/tex/extensions/setoptions.js similarity index 100% rename from math/es5/input/tex/extensions/setoptions.js rename to html/es5/input/tex/extensions/setoptions.js diff --git a/math/es5/input/tex/extensions/tagformat.js b/html/es5/input/tex/extensions/tagformat.js similarity index 100% rename from math/es5/input/tex/extensions/tagformat.js rename to html/es5/input/tex/extensions/tagformat.js diff --git a/math/es5/input/tex/extensions/textcomp.js b/html/es5/input/tex/extensions/textcomp.js similarity index 100% rename from math/es5/input/tex/extensions/textcomp.js rename to html/es5/input/tex/extensions/textcomp.js diff --git a/math/es5/input/tex/extensions/textmacros.js b/html/es5/input/tex/extensions/textmacros.js similarity index 100% rename from math/es5/input/tex/extensions/textmacros.js rename to html/es5/input/tex/extensions/textmacros.js diff --git a/math/es5/input/tex/extensions/unicode.js b/html/es5/input/tex/extensions/unicode.js similarity index 100% rename from math/es5/input/tex/extensions/unicode.js rename to html/es5/input/tex/extensions/unicode.js diff --git a/math/es5/input/tex/extensions/upgreek.js b/html/es5/input/tex/extensions/upgreek.js similarity index 100% rename from math/es5/input/tex/extensions/upgreek.js rename to html/es5/input/tex/extensions/upgreek.js diff --git a/math/es5/input/tex/extensions/verb.js b/html/es5/input/tex/extensions/verb.js similarity index 100% rename from math/es5/input/tex/extensions/verb.js rename to html/es5/input/tex/extensions/verb.js diff --git a/math/es5/latest.js b/html/es5/latest.js similarity index 100% rename from math/es5/latest.js rename to html/es5/latest.js diff --git a/math/es5/loader.js b/html/es5/loader.js similarity index 100% rename from math/es5/loader.js rename to html/es5/loader.js diff --git a/math/es5/mml-chtml.js b/html/es5/mml-chtml.js similarity index 100% rename from math/es5/mml-chtml.js rename to html/es5/mml-chtml.js diff --git a/math/es5/mml-svg.js b/html/es5/mml-svg.js similarity index 100% rename from math/es5/mml-svg.js rename to html/es5/mml-svg.js diff --git a/math/es5/node-main.js b/html/es5/node-main.js similarity index 100% rename from math/es5/node-main.js rename to html/es5/node-main.js diff --git a/math/es5/output/chtml.js b/html/es5/output/chtml.js similarity index 100% rename from math/es5/output/chtml.js rename to html/es5/output/chtml.js diff --git a/math/es5/output/chtml/fonts/tex.js b/html/es5/output/chtml/fonts/tex.js similarity index 100% rename from math/es5/output/chtml/fonts/tex.js rename to html/es5/output/chtml/fonts/tex.js diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff diff --git a/math/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff b/html/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff similarity index 100% rename from math/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff rename to html/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff diff --git a/math/es5/output/svg.js b/html/es5/output/svg.js similarity index 100% rename from math/es5/output/svg.js rename to html/es5/output/svg.js diff --git a/math/es5/output/svg/fonts/tex.js b/html/es5/output/svg/fonts/tex.js similarity index 100% rename from math/es5/output/svg/fonts/tex.js rename to html/es5/output/svg/fonts/tex.js diff --git a/math/es5/startup.js b/html/es5/startup.js similarity index 100% rename from math/es5/startup.js rename to html/es5/startup.js diff --git a/math/es5/tex-chtml-full-speech.js b/html/es5/tex-chtml-full-speech.js similarity index 100% rename from math/es5/tex-chtml-full-speech.js rename to html/es5/tex-chtml-full-speech.js diff --git a/math/es5/tex-chtml-full.js b/html/es5/tex-chtml-full.js similarity index 100% rename from math/es5/tex-chtml-full.js rename to html/es5/tex-chtml-full.js diff --git a/math/es5/tex-chtml.js b/html/es5/tex-chtml.js similarity index 100% rename from math/es5/tex-chtml.js rename to html/es5/tex-chtml.js diff --git a/math/es5/tex-mml-chtml.js b/html/es5/tex-mml-chtml.js similarity index 100% rename from math/es5/tex-mml-chtml.js rename to html/es5/tex-mml-chtml.js diff --git a/math/es5/tex-mml-svg.js b/html/es5/tex-mml-svg.js similarity index 100% rename from math/es5/tex-mml-svg.js rename to html/es5/tex-mml-svg.js diff --git a/math/es5/tex-svg-full.js b/html/es5/tex-svg-full.js similarity index 100% rename from math/es5/tex-svg-full.js rename to html/es5/tex-svg-full.js diff --git a/math/es5/tex-svg.js b/html/es5/tex-svg.js similarity index 100% rename from math/es5/tex-svg.js rename to html/es5/tex-svg.js diff --git a/math/gpu.html b/html/gpu.html similarity index 100% rename from math/gpu.html rename to html/gpu.html diff --git a/math/html.config.js b/html/html.config.js similarity index 100% rename from math/html.config.js rename to html/html.config.js diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..c3fc42f --- /dev/null +++ b/html/index.html @@ -0,0 +1,19 @@ + + +
+ + ++ 7.5.1 Sampling with Generator Matrics +
+ inline uint32_t GrayCode(uint32_t n) { + return (n >> 1) ^ n; + } ++