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

HW01: Wenqing Wang #4

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
3 changes: 1 addition & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Build and Deploy
on:
push:
Expand Down Expand Up @@ -35,4 +34,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
CLEAN: false
CLEAN: true
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# [Project 1: Noise](https://github.com/CIS-566-Fall-2022/hw01-fireball-base)

## Fireball
### Live Demo
Link: https://fridawang.github.io/hw01-fireball-base/

### Interactive parameters:
* Background gradient base color
* Noise intensity
* Rotation speed

### Main features:
* Use a combination of `perlinNoise3D()` and `cnosie()` to calculate the vectex offset on the sphere.
* Uses `vs_Pos` plus `u_Time` as parameters for noise generation.
* The radius of the circle in the background is determined by the distance between the pixel and centroid, which varies over time. `bias()` and `gain()` are used so that the radius does not change at a uniform rate.

### Results preview:
![fireball](https://user-images.githubusercontent.com/33616958/191404734-28cf103c-81a8-4421-af37-b4ebcbc5f6af.gif)

![fireball-2](https://user-images.githubusercontent.com/33616958/191409128-8a8e9d32-e97c-42f8-877c-736c914b1b42.gif)


## Objective

Get comfortable with using WebGL and its shaders to generate an interesting 3D, continuous surface using a multi-octave noise algorithm.
Expand Down
Binary file added dist/texture/surface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading