This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let video; | |
const windowWidth = window.innerWidth; | |
const windowHeight = window.innerHeight; | |
function setup() { | |
createBg(); | |
canvas = createCanvas(windowWidth, windowHeight, WEBGL); | |
clear(); | |
canvas.position(0, 0); | |
canvas.id("p5Canvas"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from "@angular/core"; | |
import { HttpClient } from "@angular/common/http"; | |
import { CrudOperations } from "../../interfaces/crud-operations"; | |
@Injectable({ | |
providedIn: "root" | |
}) | |
export abstract class ApiService<T, ID> implements CrudOperations<T, ID> { | |
constructor(protected _http: HttpClient, protected _baseUrl: string) {} | |
} |