Skip to content

Commit

Permalink
added font
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanja committed Jun 24, 2022
1 parent 9213890 commit 76bda14
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion demos/Tendrils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Particle } from '../src/Particle';
import { ParticleSystem } from '../src/ParticleSystem';
import { Vector3D } from '../src/Vector3D';
import { Spring } from '../src/Spring';
import p5 from 'p5';

export class Tendrils {
public width: number = 800;
Expand Down
1 change: 0 additions & 1 deletion demos/arboretum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { ParticleSystem } from '../src/ParticleSystem';
import { Particle } from '../src/Particle';
import { Vector3D } from '../src/Vector3D';
import { Spring } from '../src/Spring';
import p5 from 'p5';

class Random_Arboretum {

Expand Down
1 change: 0 additions & 1 deletion demos/bouncy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ParticleSystem } from '../src/ParticleSystem';
import { Particle } from '../src/Particle';
import { Vector3D } from '../src/Vector3D';
import p5 from 'p5';

class Bouncy {

Expand Down
1 change: 0 additions & 1 deletion demos/cloth.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ParticleSystem } from '../src/ParticleSystem';
import { Particle } from '../src/Particle';
import { Vector3D } from '../src/Vector3D';
import p5 from 'p5';

class Cloth {
public physics: ParticleSystem;
Expand Down
1 change: 1 addition & 0 deletions demos/pendulum.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Pendulum Demo</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
<link rel="stylesheet" href="./style.css">
</head>
<body>
Expand Down
1 change: 0 additions & 1 deletion demos/pendulum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { ParticleSystem } from '../src/ParticleSystem';
import { Particle } from '../src/Particle';
import { Spring } from '../src/Spring';
import { Vector3D } from '../src/Vector3D';
import p5 from 'p5';

class Pendulum {

Expand Down
5 changes: 4 additions & 1 deletion demos/style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

body {
font-family: 'Roboto Mono', monospace;
margin: 0;
}
#defaultCanvas0 {
Expand All @@ -8,6 +11,6 @@ body {
#infoText {
position: absolute;
left: 50%;
font-size: 30px;
font-size: 28px;
transform: translateX(-50%);
}

0 comments on commit 76bda14

Please sign in to comment.