-
Notifications
You must be signed in to change notification settings - Fork 518
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
Cedar Tree - Reese Ochitwa #871
Conversation
@ReeseOchitwa is attempting to deploy a commit to the Hack Club Team on Vercel. A member of the Team first needs to authorize it. |
|
I like the design of the tree, however this sadly doesn't meet the criteria for being algorithmic/generative as the only difference is the scale. I'd be really cool to have the tree itself change, not just the size/position of it! |
I added a more algorithmic element to the design. Each time the code is run, it generates a grid of trees that constrain to the width and height of the drawing surface based the x,y scale of the tree that also changes on each iteration. |
Hey! This is better, but I still think you could work on it to make it perfect! You should try to make it into a forest, or maybe even an entire landscape! I think you have a lot of potential with this as a foundation for a beautiful project |
Thanks for your input and helping me to improve my project. I used the row concept to create three rows of randomized scales. I also played around with colour. Although I do use color, I included comments to explain how to create a black and white drawing, so the forest doesn't rely on color. I also made the scales proportional so the trees don't become morphed. |
This is a lot better! I really like the customizability of the colors, could you rename the JS file to |
updated :) |
Hey! Sorry for the delay, could you add a global variable (ie at the top of the file) to toggle colours? It's about the only remaining thing! |
Added! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey - awesome changes, this is super close! I think the image could be more generative though, i.e the patterns on the trees changing
Write a short description about your art piece, such as what your artwork represents and your experience drawing it!
My drawing is a forest consisting of three rows of cedar trees. The cedar tree is the symbol of the Lebanese flag and the national tree. The tree symbolizes strength and resilience in Lebanon. The algorithmic part of my code generates a unique number of trees per row each time which constrains to the dimensions of the drawing surface. The forest can be drawn in colour including a yellow sun, blue sky, and brown ground, with randomized green trees or in black and white with a white sun and white trees.
Math.random()
(See the documentation on randomness)If you used based your art on something else, used a tutorial, or remixed it from something else, please link it here:
Lastly, link a picture of your art piece here:
art/cedarForest-ReeseOchitwa/snapshots/cedarForest.png