2
0

restore backup and add opencode support

This commit is contained in:
2025-09-23 12:02:03 +02:00
parent b99d2ff835
commit c295660631
72 changed files with 7035 additions and 7198 deletions

View File

@@ -0,0 +1,46 @@
/**
* Copyright (C) 2018 Michael Czechowski <mail@dailysh.it>
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; version 2.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { Graph } from './../models/graph.model';
import { NlsCanvasService } from './../services/canvas.service';
import { NlsMathService } from './../services/math.service';
import { NlsGraphService } from '../services/graph.service';
export declare class NlsGuillocheDirective implements OnChanges, OnDestroy {
private canvasService;
private el;
private math;
private graphService;
private canvas;
private group;
private bounce;
private bounces;
private initialNodes;
private initialCurve;
private animationInterval;
private medianPoint;
private medianIndex;
private pathElements;
graph: Graph;
animation: boolean;
constructor(canvasService: NlsCanvasService, el: ElementRef, math: NlsMathService, graphService: NlsGraphService);
ngOnDestroy(): void;
ngOnChanges(changes: SimpleChanges): void;
private animateGraph(x);
private spreadLines(points);
private updateGraph(points, index);
private drawGraph(points);
private debugGraph(points);
}