We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 61159a6 + 4d9dcf6 commit 9841bccCopy full SHA for 9841bcc
background/MatrixRain.ts
@@ -0,0 +1,16 @@
1
+import { MatrixRain as MR } from "./MatrixRain.js";
2
+
3
+export interface MatrixRainOptions {
4
+ characters?: string;
5
+ fontSize?: number;
6
+ fontColor?: string;
7
+ fadeColor?: string;
8
+ fps?: number;
9
+}
10
11
+export class MatrixRain extends MR {
12
+ constructor(canvas: HTMLCanvasElement, options?: MatrixRainOptions) {
13
+ // deno-lint-ignore no-explicit-any
14
+ super(canvas, options as any);
15
+ }
16
deno.json
@@ -0,0 +1,8 @@
+{
+ "compilerOptions": {
+ "lib": [
+ "dom",
+ "es2017"
+ ]
0 commit comments