All Projects → Pomax → Bezierinfo 2

Pomax / Bezierinfo 2

Licence: other
The development repo for the Primer on Bézier curves, https://pomax.github.io/bezierinfo

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to Bezierinfo 2

From Python To Numpy
An open-access book on numpy vectorization techniques, Nicolas P. Rougier, 2017
Stars: ✭ 1,728 (-6.24%)
Mutual labels:  book
Lmpythw Zh
📖 [译] 笨办法学 Python · 续
Stars: ✭ 129 (-93%)
Mutual labels:  book
Manual Node
📗 📒 (PT-BR Tradução) 2020 Edition - Tradução por Christy e Vinicius Dias (https://github.com/ViniciusmDias).
Stars: ✭ 134 (-92.73%)
Mutual labels:  book
Think Comp 2e Zh
📖 [译] 复杂性思维
Stars: ✭ 125 (-93.22%)
Mutual labels:  book
Rust In Action
Rust in Action book exercises
Stars: ✭ 127 (-93.11%)
Mutual labels:  book
Books
编程随想的电子书 Github + IPFS 墙内镜像,每天同步
Stars: ✭ 132 (-92.84%)
Mutual labels:  book
Book Cicd Docker Kubernetes
A book on CI/CD with Docker, Kubernetes and Semaphore
Stars: ✭ 122 (-93.38%)
Mutual labels:  book
Thinking In Spring Boot Samples
小马哥书籍《Spring Boot 编程思想》示例工程
Stars: ✭ 1,725 (-6.4%)
Mutual labels:  book
The Little Go Book
the little go book 繁體中文翻譯
Stars: ✭ 128 (-93.05%)
Mutual labels:  book
Fastdoc
Create publication-quality books from Jupyter notebooks
Stars: ✭ 134 (-92.73%)
Mutual labels:  book
Dtrace Stap Book
Book about DTrace and SystemTap
Stars: ✭ 125 (-93.22%)
Mutual labels:  book
Nuxt Beginners Guide
Japan's first book that corresponds to Nuxt.js v2 and focuses on deep content.
Stars: ✭ 127 (-93.11%)
Mutual labels:  book
Nimdays
Nim days book
Stars: ✭ 132 (-92.84%)
Mutual labels:  book
Dotnetbook
.NET Platform Architecture book (English, Chinese, Russian)
Stars: ✭ 1,763 (-4.34%)
Mutual labels:  book
Vertx In Action
Examples for the Manning "Vert.x in Action" book
Stars: ✭ 134 (-92.73%)
Mutual labels:  book
Algorithm Archive
A collaborative book on algorithms
Stars: ✭ 1,880 (+2.01%)
Mutual labels:  book
Books
IT技术书籍文字版mobi epub格式
Stars: ✭ 131 (-92.89%)
Mutual labels:  book
Nim In Action Code
Nim in Action code samples
Stars: ✭ 137 (-92.57%)
Mutual labels:  book
React Designer
It's not art
Stars: ✭ 1,762 (-4.4%)
Mutual labels:  bezier-curves
Rx Book
xgrommx.github.io/rx-book
Stars: ✭ 1,660 (-9.93%)
Mutual labels:  book

BezierInfo-2: a dev repository

This is the development repository for "A Primer on Bézier Curves", itself hosted as https://pomax.github.io/BezierInfo-2/

This is the new codebased for the primer, being a pure HTML/CSS/Vanilla-JS tech stack - the old version can be found on the 2016-react branch

Work is still underway on this new version, see https://github.com/Pomax/BezierInfo-2/issues/257 for the current task list.

Building everything

Use the active Node LTS (currently v14) or higher, with all the project dependencies installed via npm install. Note that node-canvas will need you to install some Cairo libs/headers using your OS's package manager, with special instructions for Windows users because Windows doesn't come with the same kind of package management that Unixy systems do. To successfully compile, GTK is required, but JPEG support is not (this repo's code only generates PNG images).

Also note that you will need a TeX installation with several dependencies: on Windows, install MiKTeX and set it up so that it automatically installs things as needed. On Linux/Unix/etc, you'll need to install the following packages:

  • xzdec
  • libpoppler-glib-dev
  • texlive
  • texlive-xetex
  • texlive-extra-utils

You'll also need pdf2svg, which on linux can be installed just like everything else, but on Windows means that you'll need to run the build yourself, after which you'll need to put the .exe file somewhere sensible (like C:\Program Files (x86)\pdf2svg) add then add that dir to your PATH, so that pdf2svg can be invoked like any other CLI command.

To make life easier, if your distro uses apt-get, just run this:

> sudo apt-get update && sudo apt-get install xzdec libpoppler-glib-dev texlive texlive-xetex texlive-extra-utils pdf2svg

With all the dependencies in place, you can now continuous-test everything using:

> npm test

Which will start the build run in "watch" mode, opening a browser with the compiled project, and recompiling as you update and save files.

To run a single, full build, rather than continuous building, use:

> npm start

Note that for dev work, you typically want to run npm test for as long as you're working on that code. Once you're ready to form a commit for PR purposes, run npm start to do a "real" build rather than a dev build, and then form your commit, so that you're pushing "final" code rather than intermediate dev code.

Specialised commands:

  • npm run regenerate runs a build followed by running prettier on the final .html files, as well as link-checker to make sure there are no dead links in the content.
  • npm run deploy runs regenerate and then copies the content of the docs directory over to ../bezierinfo, which is where the actual webview repo lives on my filesystem.

Even more specialized commands:

Please see the package.json "scripts" section for the full list of commands. Most of these are just build chain steps, and running them on their own basically makes no sense.

Weird personal dependencies?

There are a number of dependencies that are pulled from my own forks of projects, because my versions include patches (either by myself or others) that fix problems or shortcomings that have not been merged into upstream (yet?), or have been merged in but have not had a new release (yet?).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].