Coding Train Live 71: Coding Challenges: Circle Packing and White House Data Visualization

preview_player
Показать описание
In this first Live Stream of 2017, I look at a simple algorithm for "Circle Packing" and animate the process of filling a 2D space with non-overlapping circles of various sizes, colors and positions.

I also discuss the newly released social media data from the Obama Administration and make a couple simple data visualization examples.

Timestamps:
17:30 - Intro to today's first topic
22:02 - Coding Challenge: Circle Packing
1:14:43 - Back from break
1:58:48 - CC: White House Social Media Data Visualization
2:55:48 - CC: Photo Mosaic from Obama's Social Media Images
3:36:51 - Coding Challenge: Circle Packing Kitten Image
3:42:50 - Q&A/Conclusion

Resources:

Help us caption & translate this video!

Рекомендации по теме
Комментарии
Автор

Hey Daniel,

The more I watch your videos, the more I want to dive back into learning how to code. Thanks for being so energetic and not making us newbies feel stupid.

AdamRood
Автор

+Daniel Shiffman,
You are the GREATEST person alive currently on the earth... and The amount of Respect I have for you is something I cant explain. No teacher in my LIFE Has or I'm sure will never be as great as nice as awesome as you! No matter what happens... you'll be the person I respect MOST!
Thanks SO much for all the hard work!!!

Texplanations
Автор

I really enjoy these videos. I appreciate the amount of time it takes you to put them together. they are entirely entertaining and instructive at the same time.

nataliekidd
Автор

Holy shit this guy is an amazing programmer.

Nowise
Автор

I just recently discovered this channel and was amazed by the content you're making. Now last week I wanted to start with processing. And what can I say other than that I'm amazed by how easy it is to make great visual content. I made something (easy) in processing in 5 minutes which would have probably taken me half an hour in regular java. And when looking through the libraries I saw so much more content. Even an aduino library for Java. It is incredible how cool processing is. You're doing great work! Thank you.

WessonSnyder
Автор

Why are the rainbows in the intro blurred? o.O

zlyfer
Автор

Why is the rainbow blurred in the intro?

pontierent
Автор

Woooow. First time I see the intro and it was hilarious. I've paused the video now... idk If I'll ever watch the entirety of the show but let's see

xnick_uy
Автор

can i write the circle packing with basic knowledge of arrays, function and condition only ? can you please help me out ?

jheelikna
Автор

This channel should get more subscribers! So awesome

md.nazmunsadatkhan
Автор

I love that intro lmao, this guy is so awesome, great teacher and great guy

miguelsilva
Автор

WOOOHHOOO Cant wait for neural networks!!! The year of the Rainbow was a stunning one and the year of the train is already looking AMAZING gah so excited!

peterhayman
Автор

So Dan, I'm a beginner with Python, but I've been following along with this video/stream and I've translated what you've done in Java into Python! I'm super stoked how it's turned out. I've modified the code to do what you did with the cat picture from the web. It's pretty cool being able to translate Java into Python. There are some language barriers, but I've pushed through them.

I'm looking forward to translating some of your other videos into Processing w/ Python! Thanks for making your videos fun!

RyanBarnes
Автор

Im glad I have subscribed. This intro alone was worth 1000 videos. :D

TheOneEd
Автор

3:05:50 I'm getting error: listFiles(String) does not exist... on this line of code : File[] files = ideas why? using latest processing 3.2.x

pleabargain
Автор

I may have missed it or just don't understand the language...why isn't the loop, for (Circle c : circles), run inside the while loop for the count? How does newCircle() determine if the location of a new circle does not fall within any other circles if the circles haven't been shown or grown yet until the for loop that comes after the while loop? I'm doing this in Unity using c# and the program gets stuck when a circle grows and comes across another circles center before the growing circle touches a boundary.

leeblackharry
Автор

Why is the logo blured out at the begining ?

klxt
Автор

This live stream was fun. We totally trashed that chat window yet somehow managed to keep it useful when it mattered. XD

DamianReloaded
Автор

Love you Dan but I can't believe you made it the whole way through with your hoodie draw string in your collar LOL

EldeNova
Автор

Where could I watch the next time you are live?

coreyredmon