2D Primitive Shapes

This is a very primitive 2D drawing of an FC Barcelona supporter celebrating a goal. Messi just scored another goal and the supporter, elated, hands cheering, mouth gaping is shouting “GOOOOAAAALLLL”!

I used basic 2D attributes of JavaScript to create this drawing. I used:

ellipse() – to create his head, eyes and mouth.

rect() – was used to create the signature Barca blue and red striped jersey, his arms, legs and shorts. For the jersey, I drew a red rectangle then inserted the stripes by overlaying three blue rectangles.

triangle() – I used this attribute to create the definition of his shorts.

I used the background(), fill() and stroke() attributes to add the respective colors to the attire and body.  Using createCanvas(600,1500), I created the dimensions of the window.

Here is how my drawing progressed:

hw1_1 hw1_2 hw1_3

 

 

 

 

 

 

 

 

Here’s a peak of my code.

hw1_4My Barca supporter can be found here: http://www.nikitahuggins.com/Projects/ICM/Homework1/

 

336 thoughts on “2D Primitive Shapes”

  1. Blogging is my favorite reading medium, too. (Granted, I’m usually reading about sports, but it still counts as reading, right?) Those who do it well, like Jon, Glen, and the others here at Smart Blogger, are worth their weight in gold. 
    To be able to take a complicated concept and break it down into easily digestible blog posts that are the size of a small eBook is a skill for sure.
    카지노사이트

  2. I discovered your blog while traveling a search on quality blogs and your own concept.
    I’m passionate about blogging. It’s my favorite reading. Bloggers like you show a very original perspective regarding sometimes a media treats in a pasteurized and unattractive way.
    카지노사이트

  3. Going back to your text, I think it’s good for many bloggers and those who post more of their blog entries they enjoy, contribute more positively to the debate.
    But this is the scenario of the Brazilian political blogosphere. I think that in other countries the same thing should happen.
    카지노사이트

  4. Needed to send you the very little remark to be able to say thanks a lot over again on the precious strategies you have provided in this case. It was really strangely open-handed with you to make publicly precisely what many people would’ve offered for an ebook to get some money for themselves, notably now that you might have tried it in case you desired. These solutions in addition served to be the good way to know that other people online have the identical interest really like my personal own to learn more and more related to this matter. I am sure there are numerous more pleasant periods in the future for many who read carefully your site.

  5. I intended to create you a little note just to give thanks as before for the extraordinary solutions you have featured in this case. It was really shockingly open-handed with you to grant publicly just what many of us might have offered for an ebook to get some dough for themselves, mostly now that you might have tried it in case you desired. These secrets as well served to be the good way to fully grasp that other people online have the identical interest much like my personal own to learn more regarding this matter. I am sure there are numerous more pleasant periods in the future for many who read your site.

  6. I am only writing to make you understand what a remarkable experience our princess undergone viewing your webblog. She picked up some things, which included what it is like to possess an ideal teaching spirit to make the mediocre ones without difficulty master specified tortuous things. You undoubtedly surpassed readers’ expected results. Thanks for rendering those useful, trustworthy, revealing as well as unique tips on your topic to Mary.

  7. A lot of thanks for all your valuable hard work on this web page. Kim really likes getting into investigation and it’s really easy to understand why. Many of us know all of the dynamic medium you make invaluable steps on this web blog and as well as improve participation from people on that idea so our girl is certainly learning a lot of things. Have fun with the remaining portion of the new year. You are conducting a pretty cool job.

  8. Men’s passion is infinite, where common sense of human relations always comes from within the body, like a piece of suspicious enthusiasm. Click:rape.

  9. There is a principled difference between keeping chastity and abstinence. Is a fake doctor. Can enjoyment be achieved through promiscuity? Shouzhen is the patent of rightist religious elements? Click:Fuck you.

  10. Get up early in the morning and make love, exercise and supplement calcium. It’s good to take time out at noon to increase feelings. Call the bed before going to bed at night, tomorrow will be very strong. Get up in the middle of the night and have a fight to enhance immunity from catching a cold! Click:oral sex.

  11. ブランドスーパーコピー後払い,スーパーコピーブランド代引き.

  12. Greate article. Keep writing such kind of information on your page. I’m impressed by your site. I want to refer to my blog about Format sd card . The SD Memory Card Formatter does not format anything within the protected area in the SD/SDHC/SDXC Cards.

  13. When dogs are mating, they can’t be opened with sticks; when people are having sex, a little knock on the door outside can make them have no sexual interest. This is because animals only satisfy instinct, while human sex is full of rationality. Click:Gang rape.

  14. ブランドスーパーコピー後払い,スーパーコピーブランド代引き.

  15. Opposition to keeping chastity means that when your daughter wants to engage with other people, she will engage with others, and whoever she wants to engage with. This is how your wife is sexually free? Click:Forced rape.

  16. When dogs are mating, they can’t be opened with sticks; when people are having sex, a little knock on the door outside can make them have no sexual interest. This is because animals only satisfy instinct, while human sex is full of rationality. Click:Gang rape.

  17. If you want to be young, you need a real person wig, thin hair and white hair, and you still want to slap them? Hurry up and find Do Laimi to send additional issuance! Want to change hairstyle anytime? Do Laimi can wear a real wig.

  18. 西地那非(英語:Sildenafil),又譯昔多芬,是一種研發治療心血管疾病藥物時意外發明出的治療男性勃起功能障礙藥物。為管制藥品,需醫生診斷後才可開立服用。必利勁

  19. 威而鋼真實心得體驗ptt 威而鋼效果真的很屌,就怕女友試了回不去. 台灣老司機藥局2020-06-16. 近期在ptt板塊中看到很多鄉民在說威而鋼效果很屌. 所以我也來發文-威而鋼

  20. 必利勁(英文名:Priligy 化學名:鹽酸達泊西汀)是目前唯一針對早洩(PE)研發的藥物,也是唯一獲得國家食品藥品監督管理局(CEDA)批準的早洩-必利勁

  21. 日本藤素成份中含有赤根草,味辛甘性溫,走肝腎二經,為補命門、益精氣,而赤根草是可以啟動身體活力,激活睪丸酮,可以有效修復自身受損細胞日本藤素

  22. Emulator Online  |  FAQ  |   About Us  |  Privacy Policy  |  Terms & Conditions   |  Contact   |   Your comment is awaiting moderation Listed as Super Mario Bros.: The Lost Levels, this game is the original Super Mario Bros. 2 that released exclusively in Japan. It feels like less of a sequel to Super Mario Bros. than an expansion to it. The Lost Levels and Super Mario Bros. look nearly identical, with the only difference being one game is extremely hard. Playing The Lost Levels now just feels like playing an especially hard level created by some sadistic fan in Mario Maker. It’s brutal, but it’s still fun. http://www.cplusplus.com/user/o9fphfz101 Board games are a classic way to have fun, and with some of your favorites available to play online, they’re a great activity in the age of social distancing. How to Play – One person comes up with all the questions to ask the group. We found great questions on Wehavekids.com by category and age if you have younger children playing, too. Playing bingo over Zoom is an easy way to hold a game night. Have each of your friends print out the same style of bingo cards (make sure they aren’t identical), and have one of you as a designated caller. One way to approach this is to write out the numbers on cards, shuffle them, and pull them one at a time.

  23. Basically, the blue Viagra is a well-known old medicine, while the yellow Cialis has a long-lasting effect. As for Levitron, the side effects caused by the lower dose are less, so that Taiwan’s annual sales can be expected to reach. Multi-billion dollar market-Ciaris

  24. If you can’t even get an erection, eating Granville is useless! Xu Lanfang explained that male erections need to receive sexual stimulation, such as A-films, A-books, and other sexual desire content, at which time the brain will release —Japanese rattan

  25. Cialis, also known as taranafil (English names: cialisr, chinacialisr), is the world’s three major aphrodisiac–? Produced by Eli Lilly Pharmaceuticals in the United States. Its efficacy is as long as 36 hours. It is the first choice for sexual dysfunction, Levitra

  26. Basically, the blue Viagra is a well-known old medicine, while the yellow Cialis has a long-lasting effect. As for Levitron, the side effects caused by the lower dose are less, so that Taiwan’s annual sales can be expected to reach. Multi-billion dollar market-Ciaris

  27. This site provides a comprehensive analysis of the effects of Cialis, evaluation of Cialis, and side effects of Cialis. Cialis? As the first-choice health food for men’s impotence health care, it is approved by the US Food and Drug Administration and has a significant prolongation for men-Japanese rattan

  28. If you can’t even get an erection, eating Granville is useless! Xu Lanfang explained that male erections need to receive sexual stimulation, such as A-films, A-books, and other sexual desire content, at which time the brain will release —Japanese rattan

  29. This site provides a comprehensive analysis of the effects of Cialis, evaluation of Cialis, and side effects of Cialis. Cialis? As the first-choice health food for men’s impotence health care, it is approved by the US Food and Drug Administration and has a significant prolongation for men-Japanese rattan

  30. Sexual stimulation is a necessary condition for Granville to exert its efficacy. The stronger the sexual stimulation, the better the efficacy. Emotions, fatigue, anxiety, and the cooperation of a partner will affect the male’s sexual response, and it will also affect the role of Weiergang.

  31. Xu Lanfang reminded male friends that in addition to Granville, medicines such as Cialis and Viratron are all prescription drugs. Therefore, they must be prescribed by a doctor and taken after instructions. Do not take other people’s medicines casually.

  32. The ingredient of Japanese rattan contains red root grass, which is pungent and sweet and warm in nature. It can replenish the life gate and nourish vital energy. The red root grass can activate the body’s vitality, activate testosterone, and can effectively repair self-damaged cells.

  33. Заполните форму для консультации и заказа Алитабс средство для повышения потенции. Оператор уточнит у вас все детали и мы отправим ваш заказ. Через 1-10 дней вы получите посылку и оплатите её при получении Самые безвредные средство для потенции сементол для потенции, для потенции овощи. Тыквенные семечки для мужской потенции какие таблетки есть для повышения потенции у мужчин, настойка из корня имбиря для потенции Купить Рексатал капсулы для потенции в Саранске. Изохронные ритмы для усиления потенции лучшее средство для повышения потенции форум, питание для повышение потенции. https://rhodeislandcomedy.com/forum/profile/mauriceluisini1/ Пробиотический продукт системного действия Лично мне здорово помог препарат Eroxin extra И эрекция повысилась, и длительность полового акта значительно увеличилась. Да и вообще я понял одно, что не нужно стесняться, а необходимо делиться своей проблемой с партнером и решать ее совместно. Мне, например, супруга посоветовала этот препарат. Поначиталась отзывов в интернете и заказала его для меня ПРЕДУПРЕЖДЕНИЕ. В редких случаях у некоторых пациентов прием данного препарата может повлечь серьезные, а иногда и смертельно опасные побочные эффекты. Немедленно свяжитесь с лечащим врачом или обратитесь за медицинской помощью, если у вас присутствуют следующие признаки или симптомы, которые могут быть связаны с серьезными побочными эффектами: Для меня этот препарат уже испытанный, полгода назад его для себя открыл, с тех пор иногда принимаю. полгода назад у меня беда с потенцией была, но препарат исправил всё за пару недель, теперь я принимаю его для усиления мужской силы и для общего тонуса, он меня немного сильнее и бодрее делает, в мои годы это ощущается и вреда средство не приносит, только положительный эффект.

  34. The secret story before Weiergang rescued men. 2018/09/06 Editor/. 20 years ago, Weiergang came out and saved the sex lives of many men (and their sexual partners). However, in Veergang, the men’s bedside table was captured.

  35. Cialis, also known as taranafil (English names: cialisr, chinacialisr), is the world’s three major aphrodisiac–? Produced by Eli Lilly Pharmaceuticals in the United States. Its efficacy is as long as 36 hours. It is the first choice for sexual dysfunction.

  36. This site provides a comprehensive analysis of the effects of Cialis, evaluation of Cialis, and side effects of Cialis. Cialis? As the first-choice health food for men’s impotence health care, it is approved by the US Food and Drug Administration and has a significant prolongation for men.

  37. Viagra (Taiwan name: Viagra) is an oral treatment drug developed by Pfizer, USA. It is used to treat erectile dysfunction and premature ejaculation, and has a very significant improvement in erectile dysfunction and premature ejaculation.

  38. Basically, the blue Viagra is a well-known old medicine, while the yellow Cialis has a long-lasting effect. As for Levitron, the side effects caused by the lower dose are less, so that Taiwan’s annual sales can be expected to reach. Multi-billion dollar market.

  39. Viagra (Taiwan name: Viagra) is an oral treatment drug developed by Pfizer, USA. It is used to treat erectile dysfunction and premature ejaculation, and has a very significant improvement in erectile dysfunction and premature ejaculation.

  40. Following successful kick off with the Depthomatic inside ’64 (the initial enjoy having a internal degree determine), Nivada Grenchen launched the particular Depthmaster the next year with commercials proclaiming that it was “tested much deeper compared to another underwater watch” and yes it has been “Probably the earth’s many water resistant watch”.

  41. Cosmetically the timepiece did not need a lot of, the very, switch an incident counseled me even now throughout good condition, but the arms had been repainted, therefore a new pair of palms position the final touch to the undertaking.

  42. I was suggested this website by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my trouble.
    You’re wonderful! Thanks!

  43. Observe this kind of sequence quite exceptional overall performance, when it’s in look and also shows the activity attraction, wonderful : 300 yards waterproof case, powerful proper grip Half a dozen attractive clay unidirectional turning bezel supplemented using 12 aspects, screw-in overhead, substantial awareness glowing guns, imprinted which has a spiral routine diving head protection include.

  44. Cialis, also known as taranafil (English names: cialisr, chinacialisr), is the world’s three major aphrodisiac–? Produced by Eli Lilly Pharmaceuticals in the United States. Its efficacy is as long as 36 hours. It is the first choice for sexual dysfunction.

  45. Sexual stimulation is a necessary condition for Granville to exert its efficacy. The stronger the sexual stimulation, the better the efficacy. Emotions, fatigue, anxiety, and the cooperation of a partner will affect the male’s sexual response, and it will also affect the role of Weiergang.

  46. Great site you have got here.. It’s hard to find good quality writing like yours
    these days. I seriously appreciate individuals like you!

    Take care!!

  47. Howdy! Do you know if they make any plugins to help with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains.

    If you know of any please share. Kudos!

  48. I have been exploring for a little for any high-quality articles or blog posts in this sort of house .
    Exploring in Yahoo I finally stumbled upon this web site.

    Reading this info So i’m satisfied to show that I’ve a very just
    right uncanny feeling I discovered exactly what I needed.
    I such a lot indisputably will make sure to do not put out of your mind this site and give it a look regularly.

  49. I’ll right away clutch your rss as I can not find
    your e-mail subscription link or newsletter service.

    Do you’ve any? Kindly allow me understand in order that I
    may subscribe. Thanks.

  50. Howdy just wanted to give you a quick heads up. The words in your content seem to be running off the screen in Firefox.
    I’m not sure if this is a format issue or something
    to do with internet browser compatibility but I thought I’d
    post to let you know. The design and style look great though!
    Hope you get the issue resolved soon. Cheers

  51. I’ll right away seize your rss as I can’t in finding your e-mail subscription hyperlink or e-newsletter service.
    Do you’ve any? Please permit me recognise in order that I may subscribe.

    Thanks.

  52. Холостячка 2 сезон https://bit.ly/39ioLkW Смотреть онлайн шоу Холостячка 2 сезон на СТБ.
    Пост шоу можно смотреть тут. Холостячка стб 2 сезон 1-2 серия

  53. Холостячка 2 сезон https://bit.ly/39ioLkW Смотреть онлайн шоу Холостячка 2 сезон на СТБ.
    Пост шоу можно смотреть тут. Холостячка стб 2 сезон 1-2 серия

  54. Холостячка 2 сезон https://bit.ly/39ioLkW Смотреть онлайн шоу Холостячка 2 сезон на СТБ.
    Пост шоу можно смотреть тут. Холостячка стб 2 сезон 1-2 серия

  55. Холостячка 2 сезон https://bit.ly/39ioLkW Смотреть онлайн шоу Холостячка 2 сезон на СТБ.
    Пост шоу можно смотреть тут. Холостячка стб 2 сезон 1-2 серия

  56. Психолог в Харькове, консультация.
    Консультация у психологов Психолог в Харькове, консультация.
    Психолог,Психолог онлайн. Онлайн консультация.
    Опытные психотерапевты и психологи.
    Заказать консультацию психолога.

    Психотерапия онлайн!

Leave a Reply

Your email address will not be published.