• projects.
    • neon space moon.
    • the shape of refractive memory.
  • places.
    • new york.
    • bali.
    • paris.
    • los angeles.
    • australia.
    • japan.
    • sedona.
    • england.
  • people.
    • sports.
    • portraits.
    • events.
  • things.
    • wildlife.
  • itp blog.
    • itp_general.
    • itp_icm_f18.
    • itp_physical computing_f18.
    • itp_video&sound_f18.
    • itp_visual language_f18.
    • itp_animation_f18.
    • itp_wearables_s19
    • itp_fandom_s19
    • itp_turning_s19
    • itp_uxdesign_s19
    • itp_fungus_s19
    • itp_softrobotics_s19
    • itp_augmentedreality_f19
    • itp_fabrication_f19
    • itp_light&interactivity_s20
  • connect with me.
  • Menu

Madshutter Photo

  • projects.
    • neon space moon.
    • the shape of refractive memory.
  • places.
    • new york.
    • bali.
    • paris.
    • los angeles.
    • australia.
    • japan.
    • sedona.
    • england.
  • people.
    • sports.
    • portraits.
    • events.
  • things.
    • wildlife.
  • itp blog.
    • itp_general.
    • itp_icm_f18.
    • itp_physical computing_f18.
    • itp_video&sound_f18.
    • itp_visual language_f18.
    • itp_animation_f18.
    • itp_wearables_s19
    • itp_fandom_s19
    • itp_turning_s19
    • itp_uxdesign_s19
    • itp_fungus_s19
    • itp_softrobotics_s19
    • itp_augmentedreality_f19
    • itp_fabrication_f19
    • itp_light&interactivity_s20
  • connect with me.

Week 7 [Updated] - IT WORKS!!

October 29, 2018

Some persistence, a new array, and a newly defined variable made it come together. The data for color name and color hexcode was found in a JSON file though corpora, listing out all Crayola crayon colors and their hexcode values.

I extracted the data from the JSON file (color name and hexcode) and listed out the names below the sketch and changed the text color to the associated hex value. In addition to the listed text, my goal was to also use the data in a different way. In the example in the code, the draw loop is placing different ellipses in the mouseX/mouseY location at a random chosen color from the array.

Very happy with the outcome, and may use this for part of my PCOMP final. More to come..

x.

Prev / Next

Donec sed odio dui.

Vestibulum id ligula porta felis euismod semper. Maecenas faucibus mollis interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Curabitur blandit tempus porttitor. Curabitur blandit tempus porttitor. Donec id elit non mi porta gravida at eget metus.

Sed posuere consectetur est at lobortis.

Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Aenean lacinia bibendum nulla sed consectetur. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Cras mattis consectetur purus sit amet fermentum. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.​