Skip to content

Commit

Permalink
add refined text, change sketch scale to 4 for higher resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvoegelisrf committed Dec 10, 2023
1 parent 2f39a11 commit c0265ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions semesterproject/noisealgorithms/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- [Text version 2](#text-version-2)
- [Prompt for ChatGPT(GPT-4)](#prompt-for-chatgptgpt-4)
- [Result](#result)
- [Text version 3](#text-version-3)
- [Video sequences](#video-sequences)


Expand Down Expand Up @@ -47,6 +48,10 @@ Combined multiple text parts of the generated version

Winter wonderland alert! I crafted this adorable snow filter and you're all invited to join the fun! Here’s how I did it: I kicked off with something super cool called an algorithm. I checked out various snowflakes and brainstormed a plan to sketch them out. Kick off with lines shooting out from the center, then get down to the fine details. But hey, every snowflake is its own kind of awesome, so nailing down an algorithm for lifelike snowflakes was kinda tricky. But hey, algorithms aren't about perfect reality; they're about getting super close. And mine? It turned out pretty darn cute! Next up, I brought this baby into Spark Studio (yep, that's from Meta - the folks behind Facebook, Instagram, and WhatsApp). I told it to cook up thousands of these snowflakes and scatter them all over my virtual space. Then came the snowfall part. But they were all dropping at the same speed – kinda meh, right? Enter the noise algorithm: it mixed up their speed, position, and twirl in a nearly random way. Voilà, way better! It's not 100% real, but oh, it's a stunning effect. Noise algorithms aren’t just for this; they're behind cool stuff like Minecraft worlds and more. And guess what? There are loads of algorithms shaping your life – from finding the best train routes to maybe even suggesting this video to you!

## Text version 3

Winter wonderland alert! I crafted this adorable snow filter and you're all invited to join the fun! Here’s how I did it: I kicked off with something super cool called an algorithm. I checked out various snowflakes and brainstormed a plan to sketch them out. Kick off with lines shooting out from the ce nter, then get down to the fine details by drawing points with almost random coordinates. For my example, I used 10 points. So, to get points which values are not completely random, but instead relative to each other, we can use a noise value created from the perlin noise algorithm. As you know, every snowflake is its own kind of awesome, so nailing down an algorithm for lifelike snowflakes was kinda tricky. But hey, algorithms aren't about perfect reality; they're about getting super close. And mine? It turned out pretty darn cute! Next up, I brought this baby into Spark Studio (yep, that's from Meta - the folks behind Facebook, Instagram, and WhatsApp). I told it to cook up thousands of these snowflakes and scatter them all over my virtual space. Then came the snowfall part. But they were all dropping at the same speed – kinda meh, right? I crafted another algorithm: it mixed up their speed, position, and twirl in a random way. Voilà, way better! It's not 100% real, but oh, it's a stunning effect. Noise algorithms aren’t just for this; they're behind cool stuff like Minecraft worlds and more. And guess what? There are loads of other algorithms shaping your life – from finding the best train routes to maybe even suggesting this video to you!

## Video sequences

Subtitles animated, maybe with instagram editor
Expand Down
1 change: 1 addition & 0 deletions semesterproject/noisealgorithms/snowflakes/sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function setup() {
stroke(255);
// Set the stroke weight to 2 pixels
strokeWeight(2);
scale(4);

// Draw six arms of the snowflake
const arms = 6;
Expand Down

0 comments on commit c0265ed

Please sign in to comment.