Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,73 @@ The test suite (`tests/test_build_cv.py`) includes 61 tests covering:
1. Add screenshot to `images/software/`
2. Edit `software.html`, add to software grid

## Adding Hand-Drawn Borders to Images

Poster thumbnails and people photos use hand-drawn green borders for visual consistency. Use the `add_poster_borders.py` script to add these borders to new images.

### Border Script Usage

```bash
# Basic usage
python scripts/add_poster_borders.py <input_dir> <output_dir>

# Example: Process new poster images
python scripts/add_poster_borders.py images/publications/new/ images/publications/

# Example: Process a single image (copy to temp folder first)
mkdir temp_input
cp images/publications/MyPoster.png temp_input/
python scripts/add_poster_borders.py temp_input/ temp_output/
mv temp_output/MyPoster.png images/publications/MyPoster.png
rm -rf temp_input temp_output
```

### How It Works

The script:
1. Loads 10 hand-drawn border designs from `images/templates/WebsiteDoodles_Posters_v1.svg`
2. For each input PNG, selects a random border
3. Resizes the image to fit inside the border frame (poster extends to middle of border lines)
4. Composites the border on top of the image
5. Makes areas outside the border transparent
6. Outputs a 500x500 PNG with ~41px transparent margins

### Adding New Poster Thumbnails

1. Create a thumbnail PNG of the poster (any size, will be resized)
2. Place in a temporary input folder
3. Run the border script
4. Move the output to `images/publications/`
5. Update `data/publications.xlsx` with the image filename

### Adding New People Photos

1. Prepare the photo as a PNG (square crop recommended)
2. Place in a temporary input folder
3. Run the border script
4. Move the output to `images/people/`
5. Update `data/people.xlsx` with the image filename

### Script Options

```bash
python scripts/add_poster_borders.py --help

Options:
input_dir Directory containing input PNG files
output_dir Directory to save output files
--border-svg Path to SVG with border designs (default: images/templates/WebsiteDoodles_Posters_v1.svg)
--output-size Output image size in pixels (default: 500)
```

### Requirements

The script requires:
- Python 3
- PIL/Pillow
- NumPy
- `rsvg-convert` (from librsvg, install via `brew install librsvg` on macOS)

## Mobile Responsiveness

The site is fully responsive with breakpoints at:
Expand Down
Binary file added data/pdfs/CEMS_2022.pdf
Binary file not shown.
Binary file added data/pdfs/CEMS_2023.pdf
Binary file not shown.
Binary file added data/pdfs/CEMS_2024.pdf
Binary file not shown.
Binary file added data/pdfs/CNS_2025.pdf
Binary file not shown.
Binary file added data/pdfs/CarsEtal24.pdf
Binary file not shown.
Binary file added data/pdfs/CogSci_2023.pdf
Binary file not shown.
Binary file added data/pdfs/JainEtal22.pdf
Binary file not shown.
Binary file added data/pdfs/JhaEtal23.pdf
Binary file not shown.
Binary file added data/pdfs/OwenEtal20.pdf
Binary file not shown.
Binary file added data/pdfs/OwenMann20.pdf
Binary file not shown.
Binary file added data/pdfs/PengEtal25.pdf
Binary file not shown.
Binary file added data/pdfs/SFN_2019b.pdf
Binary file not shown.
Binary file added data/pdfs/SaggEtal22.pdf
Binary file not shown.
Binary file added data/pdfs/SfN_2025.pdf
Binary file not shown.
Binary file added data/pdfs/SfN_GlobalConnectome_2021.pdf
Binary file not shown.
Binary file added data/pdfs/XuEtal21.pdf
Binary file not shown.
Binary file added data/pdfs/XuMann23.pdf
Binary file not shown.
Binary file added data/pdfs/XuMann25.pdf
Binary file not shown.
Binary file added data/pdfs/ZimaMann21.pdf
Binary file not shown.
Binary file added data/pdfs/owen_dissertation.pdf
Binary file not shown.
Binary file added data/pdfs/ziman_dissertation.pdf
Binary file not shown.
Binary file modified data/people.xlsx
Binary file not shown.
Binary file modified data/publications.xlsx
Binary file not shown.
Binary file modified data/software.xlsx
Binary file not shown.
Binary file added images/publications/CEMS_2022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/CEMS_2024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/CNS_2025.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/CarsEtal24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/CogSci_2023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/HeusEtAl17-17.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/JainEtal22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/JhaEtal23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/MechanicalBrain_Edited.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/OwenEtal20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/OwenMann20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/PengEtal25.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/SaggEtal22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/SfN_2025.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/StorytellingWithData-23.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/XuEtal21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/XuMann23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/XuMann25.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/publications/ZimaMann21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6,532 changes: 6,532 additions & 0 deletions images/templates/WebsiteDoodles_Posters_v1.ai

Large diffs are not rendered by default.

144 changes: 144 additions & 0 deletions images/templates/WebsiteDoodles_Posters_v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 11 additions & 10 deletions people.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h3>We're a motley crew of science nerds united in the pursuit of understanding
<div>
<h3>jeremy manning | lab director</h3>
<p>Jeremy is an Associate Professor of Psychological and Brain Sciences at Dartmouth and directs the Contextual Dynamics Lab. He enjoys thinking about brains, non-brain brain-related things (e.g. zombies), computers, annoying-to-solve puzzles, and cats.</p>
<p>[<a href="documents/JRM_CV.html" target="_blank">CV</a>] [<a href="https://scholar.google.com/citations?user=hskTzvcAAAAJ&amp;hl=en" target="_blank">Google Scholar</a>]</p>
<p>[<a href="https://github.com/ContextLab/contextlab.github.io/blob/main/documents/JRM_CV.html" target="_blank">CV</a>] [<a href="https://scholar.google.com/citations?user=hskTzvcAAAAJ&amp;hl=en" target="_blank">Google Scholar</a>]</p>
</div>
</div>
</section>
Expand Down Expand Up @@ -181,21 +181,22 @@ <h3>Our vast network of fledgling influencers is taking the world by storm.</h3>
<div class="two-column mt-40">
<div>
<h3>Postdoctoral Researchers</h3>
<p>Gina Notaro (2017-2018; now at <a href="https://www.lockheedmartin.com/en-us/index.html" target="_blank">Lockheed Martin</a>)<br>
<a href="http://andrewheusser.github.io/" target="_blank">Andrew Heusser</a> (2016-2018; now at <a href="https://www.akiliinteractive.com/" target="_blank">Akili Interactive</a>)</p>
<p><a href="https://hungtuchen.com/" target="_blank">Hung-Tu Chen</a> (2024-2025; now at <a href="https://www.meta.com/" target="_blank">Meta</a>)<br>
Gina Notaro (2017-2018; now at <a href="https://www.lockheedmartin.com/en-us/index.html" target="_blank">Lockheed Martin</a>)<br>
<a href="http://andrewheusser.github.io/" target="_blank">Andrew Heusser</a> (2016-2018; now at <a href="https://www.pymc-labs.com/" target="_blank">PyMC Labs</a>)</p>

<h3>Graduate Students</h3>
<p><a href="https://kirstensgithub.github.io" target="_blank">Kirsten Ziman</a> (PBS Doctoral Student, 2017-2022; now at <a href="https://www.princeton.edu" target="_blank">Princeton University</a>)<br>
<a href="https://lucywowen.github.io" target="_blank">Lucy Owen</a> (PBS Doctoral Student, 2016-2021; now at <a href="https://www.brown.edu" target="_blank">Brown University</a>)<br>
<a href="https://lucywowen.github.io" target="_blank">Lucy Owen</a> (PBS Doctoral Student, 2016-2021; <a href="https://www.umt.edu/" target="_blank">now an Assistant Professor at University of Montana</a>)<br>
Mark Taylor (QBS Masters Student 2021)<br>
Max Bluestone (QBS Masters Student 2018-2019)<br>
Tom Hao Chang (CS Masters Student 2016-2017; now at <a href="https://www.aboutamazon.com/" target="_blank">Amazon</a>)<br>
Hanli Li (CS Masters Student 2016)</p>

<h3>Lab Managers</h3>
<p><a href="http://paxtonfitzpatrick.github.io" target="_blank">Paxton Fitzpatrick</a> (2019-2021; now a <a href="https://context-lab.com" target="_blank">CDLgrad student!</a>)<br>
<p><a href="http://paxtonfitzpatrick.github.io" target="_blank">Paxton Fitzpatrick</a> (2019-2021; now a <a href="https://context-lab.com" target="_blank">CDL grad student!</a>)<br>
Emily Whitaker (2017-2018; now at <a href="https://www.wisc.edu/" target="_blank">U Wisconsin-Madison</a>)<br>
<a href="http://kirstensgithub.github.io/" target="_blank">Kirsten Ziman</a> (2016-2017; then a <a href="https://context-lab.com" target="_blank">CDLgrad student!</a>)</p>
<a href="http://kirstensgithub.github.io/" target="_blank">Kirsten Ziman</a> (2016-2017; then a <a href="https://context-lab.com" target="_blank">CDL grad student!</a>)</p>
</div>
<div>
<h3>Undergraduate Researchers</h3>
Expand Down Expand Up @@ -282,16 +283,16 @@ <h3>Science is a collaborative beast— it takes a village to tame it!</h3>
</div>

<div class="mt-20">
<p><a href="http://attentioninthebrain.com/" target="_blank">Neural Basis of Attention EPSCoR Team</a>, Dartmouth College, Brown University, University of Nevada at Reno, and Montana State University (Collaborative team lead by Peter Tse and David Sheinberg)</p>
<p><a href="http://memory.psych.upenn.edu/Main_Page" target="_blank">Computational Memory Lab</a>, University of Pennsylvania (Director: Mike Kahana)</p>
<p><a href="http://compmem.princeton.edu/" target="_blank">Computational Memory Lab</a>, Princeton University (Director: Ken Norman)</p>
<p><a href="http://www.cs.columbia.edu/~blei" target="_blank">Machine Learning at Columbia</a>, Columbia University (Director: Dave Blei)</p>
<p><a href="http://memlab.bard.edu/" target="_blank">Memory Dynamics Lab</a>, Bard College (Director: Justin Hulbert)</p>
<p><a href="https://memlab.bates-catapult.net" target="_blank">Memory Dynamics Lab</a>, Bates College (Director: Justin Hulbert)</p>
<p><a href="http://cosanlab.com/" target="_blank">Computational Social Affective Neuroscience Lab</a>, Dartmouth College (Director: Luke Chang)</p>
<p><a href="http://www.vandermeerlab.org/" target="_blank">van der Meer Lab</a>, Dartmouth College (Director: Matt van der Meer)</p>
<p><a href="https://www.cs.dartmouth.edu/~rockmore/" target="_blank">Rockmore Lab</a>, Dartmouth College (Director: Dan Rockmore)</p>
<p><a href="https://www.nautiyal-lab.com/" target="_blank">Nautiyal Lab</a>, Dartmouth College (Director: Kate Nautiyal)</p>
<p><a href="http://www.dartmouth.edu/~epilab/" target="_blank">Epilepsy and Cognition Lab</a>, Dartmouth-Hitchcock Medical Center (Director: Barbara Jobst)</p>
<p><a href="http://color.psych.upenn.edu/" target="_blank">Brainard Lab</a>, University of Pennsylvania (Director: David Brainard)</p>
<p><a href="http://www.chamstudios.com/" target="_blank">Chameleon Studios</a>(Director: Talia Manning)</p>
<p><a href="http://www.chamstudios.com/" target="_blank">Chameleon Studios</a> (Director: Talia Manning)</p>
</div>
</section>
</main>
Expand Down
Loading