Insanely neat! Makes me want to get into these sort of coding challenges too!
@BarneyCodes6 жыл бұрын
Thanks! It's a lot of fun! There's a link to the code in the description if you want to have a play around with it :)
@boiimcfacto2364 Жыл бұрын
Really cool, and love your explanations along with it :)
@BarneyCodes Жыл бұрын
Thanks! Glad you enjoyed it!
@Aglaophamus12 жыл бұрын
Very cool, thank you for sharing!
@BarneyCodes2 жыл бұрын
Thank you, glad you like it!
@micahgilbertcubing59116 жыл бұрын
Really cool!
@BarneyCodes6 жыл бұрын
Thanks! Glad you liked it!
@partymarty1856 Жыл бұрын
wtf mate void? .get? what are these methods
@BarneyCodes Жыл бұрын
Processing uses the Java programming language which is a strongly typed language. That means that you have to specify the type of every variable and also the type of whatever is being returned by a function. So if your function returns a string you have to write that as part of the function definition. If your function doesn't return anything, then you can use the "void" keyword to specify an empty return type. All the particles for this effect are stored in an ArrayList. The get() function retrieves a particle from the ArrayList it's being used on at the position specified. Ie list.get(3) will get the particle at index 3 in the list. I hope that helps! Let me know if you have any other questions!