Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jeffrey Mostyn HW00-Intro Submission PR #18

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy
name: Build and Deploy 2 Electric Boogaloo
on:
push:
branches:
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,23 @@ To check if everything is on the right track:
3. Submit the link to your pull request on Canvas, and add a comment to your submission with a hyperlink to your live demo.
4. Include a link to your live site.

## Jeff's Submission Details
### Additions made
1. Created cube drawable and defaulted the program to render it.
2. Enabled selection of custom color via color picker, to change the color of the cube
3. Updated lambert-frag.glsl to render Worley/Voronoi noise as a multiplier to the chosen color
4. Added sine-based displacement over time to the cube so it non-uniformly contracts and expands.

[Live Site Link](https://jeff-mostyn.github.io/hw00-intro-base/)

<p align="center">
<img src="./images/sampleImage1.JPG">
</p>

## Resources
- Javascript modules https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
- Typescript https://www.typescriptlang.org/docs/home.html
- dat.gui https://workshop.chromeexperiments.com/examples/gui/
- dat.gui https://github.com/dataarts/dat.gui
- glMatrix http://glmatrix.net/docs/
- WebGL
- Interfaces https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API
Expand Down
Binary file added images/sampleImage1.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading