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

Algorithmic Square Randomizer #463

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Algorithmic Square Randomizer #463

wants to merge 3 commits into from

Conversation

shaurio
Copy link

@shaurio shaurio commented May 12, 2024

Hi, my name is Shaurya. I am 14 years old and in 8th grade, this is my submission. My dad suggested this to me, so I gave it a try. I've dabbled in lot's of different programming languages and have been using scratch since I was 8-9. This looked very interesting so I tried to come up with something that would change each time it ran. However, my project does not meet the criteria, as I intended it such. Before pouring my time and effort, I would like to know any suggestion, or rather feedback you have for me to improve/enhance my project to where it is deemed as fulfilling the criteria. I have some idea for the future of my project, I have listed them in the project file itself. Please take a look, write me back some feedback and or suggestions. This way I can know for certain whether my project is worth pursing, or if I should drop it and start another project with a differing objective.

square_randomizer_main square_randomizer_1 square_randomizer_2 square_randomizer_3

Copy link

vercel bot commented May 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blot-3dgallery ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 19, 2024 3:23pm

@leomcelroy
Copy link
Contributor

I think this is a great start. Maybe you could add more projections of polygons that work the same way but don't overlap on the front face. Then fill the image this way. Does that make sense?

- Added more squares
- Moved code into a repeatable function drawSquares()
- Wrapped function inside a for loop to generate add more projections of polygons that work the same way
and crate a cool effect
@shaurio
Copy link
Author

shaurio commented May 19, 2024

I’ve had a week full of sports and activities, and got around to finishing this over the weekend. I spent a couple hours and took it from one square, to as many as someone would want. I experimented with having 3 squares initially in random positions, then converted it into a scalable function. This allowed me to make more projections, and fill the screen without making it cluttered. I then wrapped it in a loop so that I can call upon the function as many times as wanted (i.e., by tweaking the cpx range) to create a cool effect. Here are some screenshots of the latest runs, tell me what you think

square_randomizer_main_v2 square_randomizer_4 square_randomizer_5 square_randomizer_6 square_randomizer_7 square_randomizer_8 square_randomizer_9 square_randomizer_10 square_randomizer_11 square_randomizer_12 square_randomizer_13 square_randomizer_14

@leomcelroy
Copy link
Contributor

Can you make it so the shapes don't overlap with each other. Trying using the cut and cover functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants