diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-10-28 00:31:20 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-10-28 00:31:20 +0530 |
| commit | 4182ea370f302bf58347da1ebdce535f07675b8f (patch) | |
| tree | d1de8c4856cc1edacf38a29937d125f272bd2898 | |
| download | creative-coding-playground-4182ea370f302bf58347da1ebdce535f07675b8f.tar.gz creative-coding-playground-4182ea370f302bf58347da1ebdce535f07675b8f.zip | |
chore: init commit with no shit
| -rw-r--r-- | .envrc | 1 | ||||
| -rw-r--r-- | TODO.norg | 15 | ||||
| -rw-r--r-- | flake.lock | 26 | ||||
| -rw-r--r-- | flake.nix | 30 | ||||
| -rw-r--r-- | justfile | 2 |
5 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +use flake diff --git a/TODO.norg b/TODO.norg new file mode 100644 index 0000000..2557cce --- /dev/null +++ b/TODO.norg @@ -0,0 +1,15 @@ +* Ideas + - ( ) Newton's fractals + - ( ) Flow fields on image + - ( ) Iterate over messytones + - ( ) Spinning poin + - ( ) Mandelbrot + - ( ) Buddhabrot + - ( ) Siperski triangle + - ( ) 3d game of life + +* Tools + - ( ) p5.js + - ( ) Processing + - ( ) nannou (can't run on my machine) + - ( ) HTML5 canvas diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..f5a0e36 --- /dev/null +++ b/flake.lock @@ -0,0 +1,26 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1698134075, + "narHash": "sha256-foCD+nuKzfh49bIoiCBur4+Fx1nozo+4C/6k8BYk4sg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "8efd5d1e283604f75a808a20e6cde0ef313d07d4", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..be81083 --- /dev/null +++ b/flake.nix @@ -0,0 +1,30 @@ +{ + inputs = { + nixpkgs.url = "nixpkgs/nixos-unstable"; + }; + + outputs = { self, nixpkgs }: + let + supportedSystems = [ "x86_64-linux" ]; + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; + nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); + + shell = pkgs: with pkgs; mkShell { + buildInputs = [ + nodejs-18_x + nodePackages.typescript + nodePackages.typescript-language-server + just + ]; + }; + in + { + devShells = forAllSystems (system: + let + pkgs = import nixpkgs { inherit system; }; + in + { + default = shell pkgs; + }); + }; +} diff --git a/justfile b/justfile new file mode 100644 index 0000000..f490618 --- /dev/null +++ b/justfile @@ -0,0 +1,2 @@ +sketch name: + cd sketches/{{name}} && just run |
