Montana-Media-Arts / 120_CreativeCoding

Main Code Repo for MART 120. This contains lecture code examples, the HW Wiki, and HW Code Examples.
https://montana-media-arts.github.io/creative-coding-1/
MIT License
131 stars 13 forks source link

Study Group #137

Closed JoleneTiffanyG closed 5 years ago

JoleneTiffanyG commented 5 years ago

Hey guys, wanted to see if anyone feels they might benefit from working through some of these projects together. I feel like it might save some time if we can help each other work through bugs in real time. I'm sure we're all encountering a lot of the same issues as beginners, and probably spending a lot of extra time trying to figure out a problem that a classmate could easily explain. If anyone wants to set up a weekly time to meet (either in Mcgill or the library) I was thinking Tuesday might be good so we're not pushing it with the due date but we've still had a chance to try the project on our own and see where difficulties might lie. Anyone potentially interested feel free to comment and we can see which day is best.

egriffin2 commented 5 years ago

I would HEAVILY encourage any of you to do this exact thing and create a study group!!!

HagenNathaniel commented 5 years ago

I do have a class at 11, and it goes to around 12:30..but after that. .I'm pretty free and clear

Get Outlook for Androidhttps://aka.ms/ghei36


From: Emily Griffin notifications@github.com Sent: Saturday, September 15, 2018 1:53:50 PM To: Montana-Media-Arts/120_CreativeCoding Cc: Subscribed Subject: Re: [Montana-Media-Arts/120_CreativeCoding] Study Group (#137)

I would HEAVILY encourage any of you to do this exact thing and create a study group!!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Montana-Media-Arts/120_CreativeCoding/issues/137#issuecomment-421625012, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ao2BvHyxdqF2okKwYE1VuSVAfSrFhX__ks5ubVrOgaJpZM4Wqfe7.

JoleneTiffanyG commented 5 years ago

Cool! I've finished hw-4 stuff but I'm happy to meet up if people want to this week. And we can do any day, or multiple days, and it can change each week. I think I'm going to just keep this open for a while so more people can have input on days/times and chime in when we get to more difficult projects if need be.

HagenNathaniel commented 5 years ago

still working on my idea for HW-4, I'll be on campus tommorrow, my class starts at 11, and ends around 12:30 or so, as I stated before..

After that, I tend to head to the UC center, seems about the best place to plug my laptop in, and work on stuff, and game after I finish :P

HagenNathaniel commented 5 years ago

so far, I got my "body parts" created, but for whatever reason, I seem to be unable to show the preview on my system, at least on my desktop..

I'll see if the laptop has the same issue, cuz I am DAMN sure the size and location on the screen isn't right, I just did the 'preliminary' shapes and put them somewhere close to each other, lol!

Have a few other problems I am sure some hands on help would help me deal with. so, be great to meet up after my only class of the day tomorrow.

JoleneTiffanyG commented 5 years ago

I'm probably more behind than anyone else in this class honestly, but if you've tried office hours and TA's I'd be happy to have a look, though I don't think I would be able to troubleshoot it based on what you've posted. I'm probably going to start going to Mcgill regularly starting with the next project (hw-5), that way there will at least be someone a little more advanced around to give guidance! That might be a good plan if the issues forum can't assist with this particular thing

HagenNathaniel commented 5 years ago

honestly haven't tried them, so far I've had little trouble until this one..

Once I get the 'preview' thing down, it doesn't seem I'll struggle much.

started this late, due to studying for a government exam this thursday..

I attached what I've done so far, been adding some color to the shapes, but that's all I've done so far besides the base code..

I'll probably start doing the same as you, otherwise as we go along, I'll be in deep guano..

HW-4.zip

HagenNathaniel commented 5 years ago

edit to previous: I've added the ; to the fill() code entries.. ss10

HagenNathaniel commented 5 years ago

added a head too, almost spaced that, lol.

DVSnell commented 5 years ago

I see you caught the semicolons, but you're missing a comma on line 33. I think one thing to keep in mind is that you have a bunch of draw functions. Javascript kinda views these as a variable with the name of draw (for lack of an easier explanation) so you keep overwriting it with each new draw function.

You also didn't close off the setup curly bracket till the very end of the script. so your function draws are nested inside the function setup.

If you install the package linter-jshint in atom, you can see your warnings and errors at the bottom of the screen ala hagenhw4

Still working on getting things to show up, though.

DVSnell commented 5 years ago

Also, check your create canvas line. ;)

HagenNathaniel commented 5 years ago

OH, so I should just make one single 'draw' function, and have all the ellipses there?

would make things easier, lol.

I'll look at that package too, thanks!

HagenNathaniel commented 5 years ago

any way to preview this? I need to do some adjusting I'm sure on placements, lol!

DVSnell commented 5 years ago

There's a package for Atom called html-preview that's very handy. After installing it, select the index.html used for this project so it opens as another tab in Atom. While that tab is active, select the menu item Packages -> HTML Preview -> Turn Preview On and Atom will make another pane with a mini web browser using the index. Now, while you edit your sketch.js it will update the preview every time you save.

HagenNathaniel commented 5 years ago

thanks, I'll give that a shot!

I'll also edit my functions, since I think I understand what you were getting at earlier

HagenNathaniel commented 5 years ago

in case anyone wants to meet, I am sitting at the UC center commons area now.

HagenNathaniel commented 5 years ago

what I am doing now, is copying all my ellipse's onto wordpad, and then moving them to the upper level of the sketch,.js file, after the 'create canvas' (fixed that issue, ty sir), and then removing the functions and the brackets that are unneeded..

So far, with preview on, I am seeing a blank screen, but I assume that's a result of the code being all weird.

hopefully, it sorts itself out enough for me to finish this project in the next day or so. ss11

HagenNathaniel commented 5 years ago

new code:

more than likely my comments are wrong now, lol...but it's consolidated, and not showing errors...but as you can see, it still won't show a preview :(

If needed I can post the zip file so you can look yourself :P ss12

jballas commented 5 years ago

@HagenNathaniel double check that there is a closed curly bracket for your setup function. It needs to happen before you start the draw function. I don't see one on line 13. Instead it looks like there is an extra one at the very bottom of your code in line 54 and 55. I hope that helps gets your preview up and running.

HagenNathaniel commented 5 years ago

added, still no go, really getting annoying

ss13

HagenNathaniel commented 5 years ago

starting to think I should just modify the HW-3.... piece by piece..

HagenNathaniel commented 5 years ago

yeah, that's what I'll do...it's working right anyway..

Update soon :)

cassadys commented 5 years ago

Pretty sure createCanvas should have a capital "C"

On Tue, Sep 18, 2018, 14:56 Nathaniel Hagen notifications@github.com wrote:

yeah, that's what I'll do...it's working right anyway..

Update soon :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Montana-Media-Arts/120_CreativeCoding/issues/137#issuecomment-422551386, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao1K1YwRYAvttzawiWI_pcOufO_dK2PEks5ucV3jgaJpZM4Wqfe7 .

HagenNathaniel commented 5 years ago

you're right, lol! Didn't notice that in my other one when I looked...

It works now :)

HagenNathaniel commented 5 years ago

and this is why you have a second/third/20th set of eyes!

thanks guys :)

HagenNathaniel commented 5 years ago

fixed the code, now trying to get it to work in git....

HagenNathaniel commented 5 years ago

got it!

cassadys commented 5 years ago

Awesome, glad you got it going! Same thing happened to me on hw-3.

On Tue, Sep 18, 2018, 15:58 Nathaniel Hagen notifications@github.com wrote:

got it!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Montana-Media-Arts/120_CreativeCoding/issues/137#issuecomment-422570958, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao1K1QzO28F9OQ7SQA-H01TVS4yX69hrks5ucWxtgaJpZM4Wqfe7 .