Glow Web

Glow Web

by Illusion705

👁 816 ❤️ 121 ⭐ 77 🔄 3
Created: Feb 27, 2021 Last modified: Aug 6, 2021 Shared: Feb 27, 2021

Description

This project was inspired by this YouTube video: https://www.youtube.com/watch?v=d620nV6bp0A&t=778s however all of this code was done by me, and none of it was inspired by the video. Part of the code for making the circles bounce off the edges without using the "if on edge, bounce" block came from this project: https://scratch.mit.edu/projects/10128515/ Thumbnail text is from Google. Music: https://www.youtube.com/watch?v=nogybXeoqrw

Instructions

Check this project out on turbowarp to decrease lag: https://turbowarp.org/493810115 Thanks to @Debaparna for curating this on July 26, 2021 :) This was sort of an experiment to see if I could create the design that was in the video linked in the notes and credits. Hope you enjoy! Click your mouse to interact with the web. Press space to show/hide variables. Want to remix? Here are some remix ideas: - Change the colors. - Change the way the web interacts with the mouse. - Change the connection strands to be dotted, dashed, etc. - Create a game where the player needs to move the web to different parts of the screen. If you need help understanding the code in order to remix, let me know in the comments. I would be happy to help :) This project generates a bunch of circles that are constantly moving around the screen using the stamp pen block and a list of the data for the circles. Then it calculates the distance between each pair of circles using the Pythagorean Theorem, and if the distance is small enough, it generates a line between them. The transparency of the line is determined by how close the circles are and changes as they get closer/farther apart.

Project Details

Visibility
Visible
Comments
Enabled