This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cleanup(){ | |
if [[ -f "package.json" ]] | |
then | |
echo "Deleting node_modules..." && (rm -rf node_modules || echo "No node_modules to delete") | |
if [[ -n "$1" ]] | |
then | |
if [[ $1 = "npm" ]]; then (rm package-lock.json || rm yarn.lock || echo "No lock files to delete") && echo "Installing packages via npm..." && npm i | |
elif [[ $1 = "yarn" ]]; then (rm yarn.lock || rm package-lock.json || echo "No lock files to delete") && echo "Installing packages via yarn... " && yarn | |
else echo "Package manager '$1' not recognised. Aborting..." | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": [ | |
{ | |
"show": true, | |
"imageMain": "/project-images/fireworks.png", | |
"imageDrop": "/project-images/fireworks_2.png", | |
"title": "Particle System with Multiple Lights", | |
"description": "A 3D Environment showcasing particle Fireworks, and multiple lights.", | |
"carouselImages": [ "fireworks.png", "fireworks_2.png" ], | |
"aboutProject": "<p>This <strong>Particle System and Multiple Lights</strong> demonstration was created during my 3rd year of University, with the help of my fellow student <span class='fancyLink'><a href='http://nightshiftgames.co.uk/'>Mark Smellie</a></span>. We were tasked with creating three advanced graphics techniques which could be showcased in one application.</p><p>I chose to implement a <strong>Particle System</strong> which would simulate fireworks, each of which had a randomised colour, location and length of time until explosion. Mark chose to implement a scene which would feature multiple lights, each with their own colour and lum |