If you liked this video, you might be interested in my own programmatic art! instagram.com/space.filler.art
@camilorivera5836 жыл бұрын
holasss baby
@gameofpj32865 жыл бұрын
Btw you don't have to make the int static
@spasticjackson95783 күн бұрын
awesome tutorial. Processing is still relevant 9 years later !
@adygombos44694 жыл бұрын
We just gonna ignore how my man has a touch screen computer?
@josefsaint3 жыл бұрын
light pen, yoz.
@stickwithit2 жыл бұрын
I found this video at the beginning of the pandemic and it reinvigorated my passion for generative art. I just want to say that I really appreciate you taking the time to show us something that inspired you because in doing so it inspired us.
@AbishaiC3 жыл бұрын
In case this comment section is still interested, there is an entire set of programs related to parametric design developed by Robert McNeel called "Rhinocers" and the parametric part of it is called "Grasshopper". Its a sort of visual coding that i'm sure you guys will love to check out. Great video though, cheers!
@future_finno53523 жыл бұрын
where to find tho??
@DavidDaybreakASMR8 жыл бұрын
I'm learning Processing programming right now, and you introduced a few functions I haven't seen (as well as that AMAZING affect), SO THANK YOU!! I'll comment later with my code for my sketch :)
@ricksande22103 жыл бұрын
You made that sketch yet?
@נתנאל-ז2ח7 жыл бұрын
I was at the IBM Los Angeles Scientific Center where this work was done. I believe that the person shown at the terminal is Jack Cintron. By the way my name is Alfred Inselberg and will be happy to hear
@alexmiller7 жыл бұрын
Oh wow! אביגיל בר זכור
@jigri_pokhri4 жыл бұрын
RIP Alfred
@MyLinuxToyBox5 жыл бұрын
Generated computer art is so interesting. What got me interested was the Deep Dream art that Google introduced. Processing and JavaScript both do some neat stuff. I also use a lot of Python.
@PaulvanRijswijk3 жыл бұрын
Reminds me of the good old days programming assembler on the 8088 and learning about lissajous
@PunmasterSTP2 жыл бұрын
Dang that was interesting, and I’ve been hearing a lot about Processing lately. Thanks for putting this video together!
@lisacole28975 жыл бұрын
Incredibly helpful thank you. I followed along and added the code as you did and it helped me understand what I was doing so much better than copying and pasting. I've managed my very first Processing programme thanks to you! Your descriptions are really clear. Now I just need to work out how to get external data to generate the maths :-)
@fewtz9446 Жыл бұрын
it's so interesting you said "the key to that is to layer up sins and cosines on top of each other", because i knew that logically from uni- that's the basis of a fourier series
@chbanja9 жыл бұрын
For a really nice slowmotion effect type: if (keyPressed) { if (key == 'b') { t = t-0.5; } }
@vne81128 жыл бұрын
+the1337er tap it if (key == 'v') { t = t-2; }
@bastibob6604 жыл бұрын
vne that isnt slowmo its moving backwards
@chrisgavin6 жыл бұрын
Great intro to early CG art and processing too. I'm just looking into processing and this was really useful. Thanks so much Mr. Miller. Here's one I made based on this... float t; float ball1x =0; float ball1y =0; float ball2x =0; float ball2y =0; void setup() { frameRate(25); background(20); size(720,720); } void draw() { background(0); stroke(255); strokeWeight(1); translate(width/2, height/2); rotate (radians(t)); for (int i=0;i
@ProjectDevious6 жыл бұрын
Thus looks amazing
@simasglebavicius20855 жыл бұрын
Brilliant
@tomasgomez19062 жыл бұрын
what is "n" in that code?
@robertmullally80018 жыл бұрын
Make more videos! This was fantastic!
@josetordesillas67066 ай бұрын
Awsome tutorial, thanks Alexander!!!!!
@1houraweekmathclass4 жыл бұрын
Great tutorial! Nice pace, perfect size font and output and informative narration.
@jamesfelix3 жыл бұрын
thanks for the video, i’m excited to learn processing
@electron73733 жыл бұрын
Thanks Alexander! Really interesting process. I will do some experimenting - looks like there are a lot of possibilities.
@xtevetyler53328 жыл бұрын
ah ha . Lissajouss images, I used to generate such images using my own Bresenham's line algorithm's and fast symmetry circle construction without sin/cosine derivatives simply mirror *8 and compute
@MinnoqWV2 жыл бұрын
Thanks Alexander, this is a great tutorial, very helpful!
@hellobluedays6 жыл бұрын
how to save the video man ? but when i saved it to png the outcome was blank and all black. Does anyone know how to solve this? // y = 5x // x = 5t // y = 3t + 3 static final int NUM_LINES =10; float t; void setup() { size(500, 500); background(0); } void draw() { background(0); stroke(255); strokeWeight(5); hint(DISABLE_ASYNCSAVEFRAME); saveFrame("output/gol####.tif"); translate(width/2, height/2); for (int i = 0; i < NUM_LINES; i++) { line(x1(t + i), y1(t + i), x2(t + i), y2(t + i)); } t++; } float x1(float t) { return sin(t / 10) * 100 + sin(t / 5) * 20; } float y1(float t) { return cos(t /10) * 100; } float x2(float t) { return sin(t / 10) * 200 + sin(t) * 2; } float y2(float t) { return cos(t / 20) * 200 + cos(t / 12) * 20; }
@joeyesposito48942 жыл бұрын
inspiring! im a designer and musician who failed math and i type with 2 fingers. code scares me, but you're opening me up! you showed me in this video that it doesn't take much to get something cool moving around. Question.. if i was to dedicate time to learning a programming language for generative art, which would you suggest? JS, Python?
@sktkkk12 жыл бұрын
JS, HTML, CSS
@ishi928 жыл бұрын
how would you make the camera follow the movement of point? For example: In the first case where you make the function x return the value of t -> the point moves right along the horizontal plane and eventually out of bounds (towards infinity) -> how would make the camera follow this movement? Cheers for the video!
@LolindirElros6 жыл бұрын
This was such an inspirational video! I ran into Processing maybe a couple of years ago, but was kinda discouraged by the sheer amount of stuff you seamingly needed to know to be able to work with it. But this video used stuff I was familiar with, even if I don't use it since high school almost 10 years ago, and applied it in such a cool way that made me download it instantly and started messing with it. Of course there's stuff I'm lost af but at least I'll try to keep doing stuff. Thanks a lot! P.S: I love the header logo on your website!
@EMPOWA5 жыл бұрын
thank you so much! such a great run through of parametric lines and processing.
@PharoahJardin7 жыл бұрын
If you look closely at the original video, you can notice that no lines actually disappear or appear, they "glide" from one position to another. Whereas in your animation, its seems as though they're not moving at all : the last line disappears and a new line appears in the front, but no line actually glides...
@saeedzare24106 жыл бұрын
such a cool code remind me of old memory Basic with Commodore 64 Thanks !
@mikejones-vd3fg8 жыл бұрын
Thats so cool, the visual at the end reminds me of dancer. Maybe thats why we find dancing attractive, we're sort of mimicing natures formulas of movement i imagine.
@gregfield44578 жыл бұрын
I can start making screens savers! haha
@HilmiZul5 жыл бұрын
Greg Field congratulation🎉
@drioko3 жыл бұрын
Lmao
@TheAlexBoro8 жыл бұрын
This blew my mind, thank you very much.
@MarieAmeliaFreyaAster2 жыл бұрын
It's cool, could you do a more detailed video about the maths?
@duality4y4 жыл бұрын
hmm i would have made a list of points. but that would have complicated things in a way. maybe a ArrayList since that is a linked list and you can just remove elemenst and then just remove the first if bigger then X and keep adding to the back.
@annickwildeboer2037 Жыл бұрын
more processing tutoriallllss!!!
@BobIrving24 жыл бұрын
Has anyone "translated" this code to p5.js? I'm trying to work it out but getting confused.
@drj94034 жыл бұрын
Its actually at Official website p5js.org/examples/math-parametric-equations.html
@petez460810 ай бұрын
Great video. How would you do this tutorial today in 2024?
@bbossin9 жыл бұрын
Thanks for the super fun and informative tutorial! :D
@hellobluedays6 жыл бұрын
how to save the video man ? thanks :(
@DRAGONKNIGHT996 жыл бұрын
Put ss before youtube in the URL
@hellobluedays6 жыл бұрын
haha yea hellaaa
@faithyoung57808 жыл бұрын
Hi! could you post a beginners tutorial on processing? I have no idea what I'm doing in processing in regards to code. I am used to traditional art, so this is super new to me. If not, you could also direct me to another video! Thank you.
@thecomputertutor5918 жыл бұрын
Hey everyone. I just made a tutorial on zooming/panning in Processing, and I'd love for tips and suggestions in the comments. Thanks!
@alltaken06 жыл бұрын
where? link? thanks
@santiagojaramillorodriguez82724 жыл бұрын
is there a possibility to make this with another kind of movement? maybe bassed on another kind of wave?
@rawzey8 жыл бұрын
Fantastic find!
@toleliart10145 жыл бұрын
Any idea how to get one of the points to follow the mouse? I can only get it to change the angle very slightly.
@gr4hamm8 жыл бұрын
if I wanted to have it stop in place how would I do that? is there I could make the floats freeze? or would it be in the for loop? sorry I'm a noob lol
@TheFionnboland2 жыл бұрын
Legend thank you for this, so helpful
@ronicave85224 жыл бұрын
It's nice to see calc 2 had at least one use in my life ...
@jacobhaig23728 жыл бұрын
by pure chance, I discovered this amazing code float t = 0; void setup() { size(500, 500); background(20); } void draw() { stroke(255); strokeWeight(4); translate(width/100, height/2); point(t, sin(t*2)*150); t+=.45; } and this float t = 0; float incr=0; void setup() { size(6000, 500); background(20); } void draw() { stroke(255); strokeWeight(5); translate(width/100, height/2); point(t, sin(t*2.2)*150); //incr += .000005; t+=.255+incr; frameRate(500); }
@noon84097 жыл бұрын
awesome, thanks for sharing
@miksuko7 жыл бұрын
Jacob Haig if it has sin in it, chances are it will look awesome (trust me, I am experienced)
@youtubepooppismo52846 жыл бұрын
Woooow.
@0xDEAD_Inside6 жыл бұрын
Thanks!
@sowswo4 жыл бұрын
mm
@stephanielopez87297 жыл бұрын
Thanks for the video! Great material to learn!
@aileendeus4 ай бұрын
hello, do you have a course for beginners?
@Mirko_ddd3 жыл бұрын
"Drunk Jedi waving a light saber" 🤣
@tyroneslothrop1239 жыл бұрын
More of it!
@davidprentice54422 жыл бұрын
the 1968 computer is a Xerox Alta ?
@fredrikpeterson19875 жыл бұрын
i did some change in code pretty simular to win 98 screensaver now we need to put another color so they can change // y = 5x // x = 5t // y = 3t + 3 static final int NUM_LINES = 10; float t; void setup() { background(20); size(1280, 800); } void draw() { background(10); stroke(55,10,255); strokeWeight(1); translate(width/2, height/2); for (int i = 0; i < NUM_LINES; i++) { line(x1(t + i), y1(t + i), x2(t + i), y2(t + i)); line(x3(t + i), y3(t + i), x4(t + i), y4(t + i)); } t += 0.5; } float x1(float t) { return sin(t / 10) * 100 + sin(t / 5) * 100; } float y1(float t) { return cos(-t / 10) * 100 + sin(t / 5) * 150; } float x2(float t) { return sin(t / 10) * 200 + sin(t) * 2 + cos(t) * 10; } float y2(float t) { return cos(t / 20) * 200 + cos(t / 12) * 20; } float x3(float t) { return sin(t / 10) * 100 + sin(t / 20) * 200; } float y3(float t) { return cos(-t / 10) * 100 + sin(t / 5) * -150; } float x4(float t) { return sin(t / 10) * 200 + sin(t) * 2 + cos(t) * 10; } float y4(float t) { return cos(t / 20) * 200 + cos(t / 12) * -200; }
@ifoundthistoday3 жыл бұрын
nice one
@y_j_w_y_j8 жыл бұрын
This is a great video. However, one thing that I don't understand ---------- "float x (float t)". Is it a short form of a function? like " i++" is a short form of "i = i+1"?
@alexmiller8 жыл бұрын
No, it's not a special short form, even though it looks odd. It's a function called "x" that returns a float, and takes one float parameter "t". An equivalent function header would be: float myFunction(float myParameter)
@y_j_w_y_j8 жыл бұрын
Thanks for answering
@benkada88472 жыл бұрын
Great video, also very inspiring
@Miionu7 жыл бұрын
Great video! I want more of these! 😁
@binershock7 жыл бұрын
This is cool and thanks for making it- one question is about frame rate. It seems like according to documentation the default frame rate is going to be 60 frames per second, but in your example things seem to move slower than that. I don't see you alter the frame rate explicitly.
@sparkloweb6 жыл бұрын
It's rendering at 60 fps. You can tell when it increments one pixel at a time across half the window (250px) in just over 4 seconds. But the video appears to be captured at only 24 fps.
Theres a doc on archive.org called The Incredible Machine. Really interesting look at the beginnings of graphics. check it out, cheers for the video. :)
@FlySilky6 жыл бұрын
Nice rec!
@ahmmo28702 жыл бұрын
Here's the documentary on KZbin :) kzbin.info/www/bejne/n6i5pmV4jLGNp6M
@mario-vy6iw6 жыл бұрын
Very nice intro tutorial, neat and useful. Congratulation!
@kyleadamsdrums3 жыл бұрын
incredible
@CleavelandBeats4 жыл бұрын
How would I export this as a gif? Given that there's no way to know the total frames in a loop. And it does loop, as is the nature of sin and cosin functions, correct?
@Waadee1016 жыл бұрын
Could you please do a tutorial like this on the works of Adam Ferriss.
@BlackPowerRanger8 жыл бұрын
how do you add colour to the strokes lines, just like in the archive video?
@alexmiller8 жыл бұрын
+MegaNigel77 Use the stroke function: processing.org/reference/stroke_.html
@alltaken06 жыл бұрын
@@alexmiller could you post an example where to put the fill settings? mine stay white ; ( ... great vid Sir!
@simasglebavicius20855 жыл бұрын
@@alltaken0 Put it before the point in the code. Use stroke(255,255,255); and change the values inside which stand for Red, Green, Blue.
@ryan72887 жыл бұрын
Hello, I was hoping maybe you could help me with this program. I am taking a course in university and well to be honest my professor isn't very helpful at all and I am having to learn everything myself which is fine but I got about a month to finish everything up. Any chance I could show you the assignments and you could lead me in the right directions?
@ida22ida8 жыл бұрын
Hi, nice video :-) if I wanted to add another float, or set of parametric lines, how would I do that?
@ida22ida8 жыл бұрын
+Ida Engelhardt Never mind, I found out how to do it ;-)
@roelweerdenburg7 жыл бұрын
How then?? I really want to know how I can add more sets of parametric lines!
@xtevetyler53328 жыл бұрын
i wanted to see whitneys tutorial, can you direct me to that, i done all this maths a long time ago, and bezier elastic banding, ah my bad.... i should have read more in comments, i am off to see his original work, ps. good tutorial mind.
@tibfox8 жыл бұрын
great tutorial. Thanks !
@bs90614 жыл бұрын
Thank you!
@Mousus9298 жыл бұрын
Great video, thanks
@goatmen7996 Жыл бұрын
this can be good for a music video
@colesmith7967 жыл бұрын
Can you send me the code PLS
@Saturos027 жыл бұрын
Great video! Thank you!
@giuliaz.31596 жыл бұрын
I exactly copied the code but Processing (3.4) doesn't let me play it, saying that float t; is an unexpected token. Same for void setup();. What's wrong in my code? // y = 5x // x = 5t // y = 3t + 3 static final int NUM_LINES = 10 float t; void setup() { background(20); size(500, 500); } void draw() { background(20); stroke(255); strokeWeight(5); translate(width/2, height/2); for (int i = 0; i < NUM_LINES, i++) { line(x1(t + i), y1(t + i), x2(t + 1), y2(t + 1)); } t +=0.5 } float x1(float t) { return sin(t / 10) * 100; } float y1(float t) { return cos(t / 10) * 100; } float x2(float t) { return sin(t / 10) * 200 + sin(t) * 2; } float y2(float t) { return cos(t / 10) * 100 + cos(t/12) * 20; }
@jarnoburggraf88466 жыл бұрын
Did you forget the semicolon after numLines=10?
@justgame55085 жыл бұрын
Because you call t += 1 before you’ve initialised t. Instead of: float t; Write float t = 0;
@brunoruchiga227 жыл бұрын
great video!
@strangethingsstrangethings96963 жыл бұрын
somewone copy and paste for me?
@eotikurac8 жыл бұрын
when i hit run, why is the sketch already drawn?
@bjornsundin58208 жыл бұрын
BaconKwagga it just draws one thing at a time. If you tell it to draw a line, it's drawn instantly.
@alltaken09 жыл бұрын
nice tut man!
@basiccoder21666 жыл бұрын
that made my day Thank you sir.
@grainfrizz5 жыл бұрын
Magnificent
@karenmallak13577 жыл бұрын
any algorithm for this?
@duality4y4 жыл бұрын
"Processing is a tool for non programmers" goes a head and writes a program. (I guess you are a programmer good luck!)
@1st_ProCactus7 жыл бұрын
Dude, You almost have more likes on this 1 video than you have subs. I think if you started to make more videos, especially like this one, then it might work you ?
@LoweHenry4 жыл бұрын
this is so cool!!!!
@damienrave46609 жыл бұрын
Great video, thank you for sharing :)
@1st_ProCactus7 жыл бұрын
I have something I made in QB45 when I was 13ish. Seems I independently discovered this. I learnt/discovered how to draw a circle pixel by pixel. I was also bouncing lines off the edges of the screen. One day I made a very small program that did what you just did. I had no idea how it worked. All I know is nothing in the code was telling my line ends to bounce off the edge of the screen, yet it was doing it in a non repetitious way. I was also able to use all 256K colours, but only 16 at a time. Then I lose the fucking source code, All I have left is an EXE file :(
@farismoumin60489 жыл бұрын
thank you , if we increase 'i' up to 100 , and add an other 'i' to the for loop out off parentheses it would be more interrestting animation.
for better colors use in setup "colorMode(HSB);" and then where you set the stroke change to "stroke((t * 5) % 256, 255, 255);" --> already much nicer colors ;) your welcome
@lisacole28975 жыл бұрын
thank you! I had a typo in mine somewhere and I couldn't find it, that sorted it