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

TuxedoCupcake-Olive #950

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

Conversation

EnterpriseGoose
Copy link

Original description (from PR that was closed):
This is a cupcake that's based on the cupcakes I make in real life every week. I love making a whole bunch of different flavors, so I tried to replicate that by having tons of randomization in terms of what the cake, frosting, and toppings would be. There's even a little randomization in what the cupcake wrapper looks like (which is also realistic- not every cupcake is perfect!). I struggled quite a bit trying to get the shape of the cupcake to work, and seeing as this is my first time working with something like this, it took me a bit to understand some of the documentation, and it took a lot of trial and error to get all the shapes right. Especially with the frosting curves, I tried to get both of the curve generation methods to work, but it just kept looking wrong, so I eventually found the turtle and found that it worked better at getting the arcs I was looking for. I then added a few different toppings: sprinkles, chocolate chips, and cashews (which were really hard to get drawn right). The topping choice is randomized, and then they are randomly placed on the cupcake. When it's trying to place the toppings, I originally had it completely random, but I found that it overlapped them a little too much, which I didn't think would draw well on the blot. I then added a collision detection system so they could be a little more separate, and that worked perfectly. By the end of working on this, I now feel a lot more comfortable trying to make the program actually make something the way I want it to look, and I'm excited to show this to my club so we can all work on trying to make our own drawings. I'm super excited to be able to get the blot!

Also, as much as I think it does look way cooler with the different colors, there's still some amount of randomization without them (topping placement, type of topping, base lines), and it still looks really good in black and white. I added a photo to the snapshots that shows what it looks like in black and white as well as color, which can be toggled in the program with a simple boolean.

Updates since then:

  • Made it a box of cupcakes rather than just 1

  • Cupcake drawing is function-driven, with custom placement and size (required refactoring most of the code)

  • Color cupcake looks better (doesn't use outline color)

  • Debug tools using text printing (useful in school when I don't have access to console)

  • Use actual collision detection rather than just trying to guess using circles

  • I have read the steps to getting a blot

  • I have read all the submission requirements and follow them

  • I am submitting art that...

    • is algorithmically generated (will meaningfully change each time the program is run)
    • is your own work that is not copied from somewhere else
    • is drawable through the editor(does not use outside tools)
    • doesn't call Math.random() (See the documentation on randomness)
    • is drawable on Blot itself (doesn't have lines overlap more than 5 times)
      • Doesn't overlap lines more than 5 times
      • Fits in the working area of 125x125mm
      • Doesn't rely on colour to look good

If you used based your art on something else, used a tutorial, or remixed it from something else, please link it here:
I only relied on my physical cupcakes!

Lastly, link a picture of your art piece here:
https://github.com/EnterpriseGoose/blot-cupcake/blob/main/art/TuxedoCupcake-Olive/snapshots/gallery.png

- Made it a box of cupcakes rather than just 1
- Cupcake drawing is function-driven, with custom placement and size
- Color cupcake looks better (doesn't use outline color)
- Debug tools using text printing (useful in school when I don't have access to console)
- Use actual collision detection rather than just trying to guess using circles
- Make color cupcakes actually work in box
Copy link

vercel bot commented Oct 8, 2024

@EnterpriseGoose is attempting to deploy a commit to the Hack Club Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

github-actions bot commented Oct 8, 2024

art/TuxedoCupcake-Olive/index.js looks like art! preview it in the editor

Copy link
Member

@qcoral qcoral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey!! Sorry this took so long to get to.

This is great, and I think when the color is enabled it look absolutely stunning. With it off though, it's rather static.

Try working on it more! I'll swing back around again.

Add sticker
Add background cupcakes
Add line decorations
@EnterpriseGoose
Copy link
Author

Hi!! Thanks so much for taking a look at this! I went through and added a few things:

  • Logo on the box! This reflects how I put a little sticker on my cupcake boxes when I serve them.
  • I added a cute background decoration (which can be toggled) with mini little cupcakes scattered about

I feel like there's not much more to add because there's not really any more whitespace in the space, but if you have any specific suggestions, I'd be happy to try to squeeze it in.

Thank you!!!

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.

2 participants