goto:
node_modules/react-scripts/config/webpack.config.dev.js
Change:
devtool: 'cheap-module-source-map',
To:
| //Moebius transformations in 3d, by reverse stereographic projection to the 3-sphere, | |
| //rotation in 4d space, and projection back. | |
| //by Daniel Piker 09/08/20 | |
| //Feel free to use, adapt and reshare. I'd appreciate a mention if you post something using this. | |
| //You can also now find this transformation as a component in Grasshopper/Rhino | |
| //I first wrote about these transformations here: | |
| //https://spacesymmetrystructure.wordpress.com/2008/12/11/4-dimensional-rotations/ | |
| //If you want to transform about a given circle. Points on the circle and its axis stay on those curves. | |
| //You can skip these 2 lines if you want to always use the origin centred unit circle. |
goto:
node_modules/react-scripts/config/webpack.config.dev.js
Change:
devtool: 'cheap-module-source-map',
To:
My machine (basically this build: https://www.thingiverse.com/thing:1514145) has GRBL 0.9 : https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.9 The documents for newer version are up there too, obviously. It would definitely be good to get v1.1 working in order to learn the process of getting it on a fresh Arduino board. I'll outline the process of how to do that in the section below this one and fill in the details as I get around to figuring them out. Here's what I do know for sure though...
You can use any number of GUIs but the premise is always the same.
Once the firmware is on your board, connect it via USB, power it on, and search in your /dev/ directory for your Arduino (type that into Terminal and start typing "tty" and then hit Tab until something shows up). If you have the Arduino software, use the drop down menus to identify an address like /dev/ttyusb#### or /dev/wchusbserial####
The numbers will be u
| import React from 'react'; | |
| const MIN_SCALE = 1; | |
| const MAX_SCALE = 4; | |
| const SETTLE_RANGE = 0.001; | |
| const ADDITIONAL_LIMIT = 0.2; | |
| const DOUBLE_TAP_THRESHOLD = 300; | |
| const ANIMATION_SPEED = 0.04; | |
| const RESET_ANIMATION_SPEED = 0.08; | |
| const INITIAL_X = 0; |
| // http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ | |
| "use strict"; | |
| process.title = 'node-serial-ws'; | |
| // Websocket | |
| var webSocketsServerPort = 1337; | |
| var webSocketServer = require('websocket').server; | |
| var http = require('http'); | |
| var server = http.createServer(function(request, response) { | |
| // Not important for us. We're writing WebSocket server, not HTTP server |