Skip to content

Commit

Permalink
adding original files
Browse files Browse the repository at this point in the history
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
  • Loading branch information
vsoch committed Jan 5, 2020
0 parents commit b3b7047
Show file tree
Hide file tree
Showing 30 changed files with 158,668 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# ColorArt Examples

This is an examples repository to supplement [codeart](https://github.com/vsoch/codeart).
The repository was getting large so I decided to move image and data files over here.

## Parse Repo

The [parse_repo](parse_repo) folder shows how to parse a repository (spack)
and then generate a color gradient lookup.

## Parse by Year

Is an example project to use codeart to parse a large Python code base, determine
year of creation using the GitHub api, and then break into groups based on the year.

## Derive Colormap

The [derive_colormap](derive_colormap) folder an example to show working on deriving a colormap from a set of embeddings.
This means that we start with 3d, project to 2d, and then use Voronoi to
fill border cells. I wound up doing something different, but the notebook
is useful to get someone started with a similar project.

## Parse Folders

The [parse_folders](parse_folders) is a similar effort to "Parse Repo" above,
but instead we parse folders on our local file system and generate a colors
gradient.

![parse_folders/colors-gradient.png](parse_folders/colors-gradient.png)
Binary file added derive_colormap/colormap-2d-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15,414 changes: 15,414 additions & 0 deletions derive_colormap/colormap-counts.csv

Large diffs are not rendered by default.

15,414 changes: 15,414 additions & 0 deletions derive_colormap/colormap-vectors.csv

Large diffs are not rendered by default.

Loading

0 comments on commit b3b7047

Please sign in to comment.