mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-29 19:20:39 +02:00
error-only for http-server, better parameter parsing for sketch markup
This commit is contained in:
@@ -2,7 +2,7 @@ setup() {
|
||||
const w = this.width,
|
||||
h = this.height;
|
||||
|
||||
const degree = this.getParameter(`degree`, 3);
|
||||
const degree = this.parameters.degree ?? 3;
|
||||
|
||||
if (degree === 3) {
|
||||
this.f = [
|
||||
|
Reference in New Issue
Block a user