Skip to content

Commit

Permalink
#87 Update dependencies and rollup configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
blwatkins committed Apr 28, 2024
1 parent 36e0a76 commit 1b977c0
Show file tree
Hide file tree
Showing 8 changed files with 1,877 additions and 5,089 deletions.
9 changes: 6 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],

"class-methods-use-this": "off",
"@typescript-eslint/class-methods-use-this": "error",
"@typescript-eslint/class-methods-use-this": "off",

"dot-notation": "off",
"@typescript-eslint/dot-notation": "error",
Expand Down Expand Up @@ -58,7 +58,10 @@

"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error",

"@typescript-eslint/class-literal-property-style": ["error", "getters"]
"@typescript-eslint/class-literal-property-style": [
"error",
"getters"
],
"@typescript-eslint/no-inferrable-types": "off"
}
}
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.11.1
v20.12.2
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Copyright (C) 2023-2024 brittni and the polar bear LLC.

A template for new brittni and the polar bear generative art projects using [TypeScript](https://www.typescriptlang.org/) with [p5.js](https://p5js.org/).

This template also uses the brittni and the polar bear generative art
library: [@batpb/genart](https://www.npmjs.com/package/@batpb/genart).

## Summary

[![CodeQL](https://github.com/brittni-and-the-polar-bear/generative-art-project-template/actions/workflows/codeql.yml/badge.svg)](https://github.com/brittni-and-the-polar-bear/generative-art-project-template/actions/workflows/codeql.yml)
Expand All @@ -16,6 +19,10 @@ A template for new brittni and the polar bear generative art projects using [Typ

## LICENSE Information

The source code of this project is licensed under the [GNU Affero General Public Version 3.0 License](https://www.gnu.org/licenses/agpl-3.0.en.html). The full text of the license can be found in the LICENSE file of the root directory.
The source code of this project is licensed under
the [GNU Affero General Public Version 3.0 License](https://www.gnu.org/licenses/agpl-3.0.en.html).
The full text of the license can be found in the LICENSE file of the root directory.

The visual outputs of this distribution of the source code are licensed under the [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License](https://creativecommons.org/licenses/by-nc-nd/4.0/). The full text of the license can be found in the OUTPUT-LICENSE file of the root directory.
The visual outputs of this distribution of the source code are licensed under the
[Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License](https://creativecommons.org/licenses/by-nc-nd/4.0/).
The full text of the license can be found in the OUTPUT-LICENSE file of the root directory.
21 changes: 19 additions & 2 deletions assets/styles/sketch.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,31 @@
* See the GNU Affero General Public License for more details.
*/

/* To remove borders and scroll bars from the sketch page */
/*
* To remove borders and scroll bars from the sketch page,
* and to keep canvas in the center of the browser window at all times.
*/

html, body {
margin: 0;
padding: 0;
border: none;
}

body {
width: 100vw;
height: 100vh;
}

main {
display: grid;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}

canvas {
display: block;
grid-row: 1;
grid-column: 1;
}
Loading

0 comments on commit 1b977c0

Please sign in to comment.