its not really math....trust me, it just look like math. lol. that is like saying roman numeral look like your speaking english but its not english, it just an illusion like V, L, I, X etc. the point is, don't let it intimidate you and keep going!
"Feature creep" is when you finish all the core features but then think of more features that would be nice to add, so you add them, and then you think of more features that would be nice to add, so you add them, and then you think of more features that would be nice to add... It's like a run-on sentence but for programming.
+Nick Jimenez1 yes, and read code and best advice I can give: "know there's no magic - you make the magic happen" try out tools - learn to "talk" to computers.. eventually you'll work with the way you like to talk to your computer..
12:11 I love it when Daniel opens these seemingly demonic portals, and he quickly appreciates them, and then is like "no time!" and moves on. Makes me laugh. Also inspires me to want to pursue creating my own trippy visuals
it should be Star() { x = random(-width/2, width/2); y = random(-height/2, height/2); } so you really see all the stars, that are created. in your code you're only seeing 1/4 of all stars. the rest of the stars is beyond the screen!
I code by Javascript and have problem like that. Because we use translate +1/2 width and +1/2 height, so we need get random positions from -1/2 to 1/2 of width and height. Example: x = Math.random()*canvas.width - canvas.width/2;
Back in, I think, 2014, I heard about your book and decided to support it. I had no idea who you were. Now I've been watching your videos and I must say: thank you! You are an amazing teacher and human being. I'm so glad I've found this. Best wishes!
I'm from Syria, we have no proper programming education, I've been watching your vids for a while now. got me so excited I started trying things around and It feels so great to see codes work!! I can't thank you enough, man. I needed this hobby. a side question if you don't mind. what would you recommend for creating Java desktop apps. I've been playing arround with NW.js and electron and I'm wondering if p5 works well with them?
thank you so much, looking forward to that video. love your channel and your approach to coding in general. I'm a noob that's learning a lot of things and it feels so awesome. really thankful for sharing knowledge. always a fan.
I saw this vidio and i thought well i cant programm like this but i can in Scratch ( scratch.mit.edu ) and i try to meke it in Scratch but after 4 hour of trying and analysing you vidio and the Script i gave up :D
Love the explanation in these videos, but i would like to see a "quick code" challenge, where u just have a goal and just code as fast as u can without explaing anything.
I JUST found your videos. I have been on a technology break for a few years. I just watched your #1 and #2. Very impressed with the teaching style. NO REPEATING. I have had a PCS, Stroke, TIAs, TBI, and Seizures. I used to code with my eyes closed, but the combination of everything in my brain has caused about 80% loss in my knowledge. This has been GREATLY helpful.
This is SO AWESOME!!! I can't thank you enough. You've really inspired me to learn programing with code arts (yes, arts) like this one, showing me this is what I need to do. I'm from Brazil and, unfortunetly, there's not much of programing incentive here yet. Keep doing this! I deeply believe you're changing a lot of people's life. Thank you so much!!
Just want to add that x and y should be random (-width/2,width/2) and (-height/2,height/2), respectively, rather than increasing the number of stars as you did. Great tutorial as always!
You have restored my faith in programming, thank you for everything you do. These are the best thing ever. I am now fully interested in programming again after almost a year
I'm a Bachelor of Science Information Technology from here in Philippines,, i watched 3 of your coding challenge and now, you are my idol for Coding. :) thanks for this video man :D
JavaScript - text(“hello world”, 100, 100); P.S. I recommend learning JavaScript on Khan Academy for beginners. Plus while your there you can learn animations, computer science, code, and more. Also, they can help you with with a subject your struggling on in school. It’s free and all you need to do is make an account! I just wanted to tell you.😊
I honestly will watch your videos just to put me in a better mood. Like I will literally have no interest in doing the actual project at the time but know that I watch one video of yours, I'm just going to feel better about life in general. Thank you sir.
My first thought when clicking on this video was: "Huh? Star Wars?!" lmao This video was really good! Never stop programming, we need you lol ! :) Edit: OMG, this is the first time I get a heart, yay! ❤😄
"..and it's not..oh my goodness the X doesn't matter!" AMAZING epiphany moment at 11:12. Great video. I enjoyed installing and using Processing on Atom.
Thanks for replying Daniel. I am new to Processing but I know Java. I didn't fully understand the role of each line of code in Starfield but I know it's tough for you to explain everything when the clock is ticking. All the best! - - Alex Zaslavsky
Writes an amazing *working* "warp speed" visualization program and deems himself as a failure for not completing in 10 mins. You sir are a typical Asian parent. Subscribed.
These short toots are great. Not too intimidating for those of limited attention span (the vast majority of people these days), and as a visual artist, and not a programmer, they've made Processing more accessible than it seemed before, and I'm now learning faster. Thanks!
If you ever have the opportunity I would recommend it, python is one of the best languages to learn as a beginner because you can do almost anything with it
starts out good I feel like I know coding im understanding everything then after few mins my brain goes: px pz px px pz x y z xy pz py pz xp pp px zp xp xy pz zx px px py pz = START FIELD
I can totally relate with the way in which you are your own greatest critic. However, this is one occasion I must say you are too hard on yourself! The time you spend explaining what you are doing, while much appreciated, is time that you are not coding. Many of your viewers, myself included, declare this a success! All while being fun, informative, and suspenseful! Good job, awesome video!
Very few people are really good in JavaScript. And these people are the most passionate about coding. Maybe it's because they overcome the challenge of learning JavaScript, and after that it's all fun.
When you think you're getting good at programming and then one of these 5/10 minute challenges pops up on your recommended list that blows away anything you've ever done and in a fraction of the time.
Thank you so much for this, I just started learning Processing and I'm having so much fun! So, I was trying to modify the saturation of the stars so that the ones further away would be darker. So I mapped a variable to z and used it for the fill colour. The function looks like: float c=map(z, 0, width, random(200,255), random(0,100)); This works for greyscale, but not if I want coloured stars. What could I do to fix this?
I realize you made this comment 7 months ago, but I don't think the math works out. Between the instances where you reset a star to z = width, x is essentially a constant from 0 to 400, but z is constantly decreasing. So shouldn't the value of x/z increase well out of the range 0 to 1? Shouldn't the range instead be 1 to 400?
i still don't get this part, x has a range from -400 to 400, and z a range from 0 to 400, so if x/z there is a possible range from -400 ( -400/1) to 400 (400/1)
you sir are a WIZARD!!!! If you started working for CIG on StarCitizen, you'd basically finish the game in a month when it's taken them years just for an alpha ;)
I translated this to clojurescript. Behaves identically to the video. jjunior130.github.io/coding-challenges/#/starfield Sketch: github.com/Jjunior130/coding-challenges/blob/master/src/cljs/coding_challenges/starfield/views.cljs Star: github.com/Jjunior130/coding-challenges/blob/master/src/cljs/coding_challenges/starfield/star.cljs
Try either of these playlists to start from the beginning! ru-vid.complaylists?view=50&shelf_id=14&sort=dd ru-vid.complaylists?view=50&shelf_id=2&sort=dd
I don't know shit about writing. But this is still interesting. Like watching a history channel doc on something that keeps my interest. Much respect for the field.
Okay so first of all, you did NOT fail! That was fricken amazing!!!! Hats off to you bro. 2nd) you should probably read the question first, then start coding @ the 10min mark. It's almost unfair because you talk so much, but yeah, I hope in the future I can 'fail' like you. Outstanding, I've never seen someone code something so fast! Very Impressed!!! I liked AND subscribed as I want to see more (and learn). I just started to pick up Python.
Awesome, just awesome! After 12 minutes I’d probably still be struggling with making stars fly in the correct direction 😅
7 лет назад
I'm your Argentinian fan although it costs me a little to understand your English when you speak at the speed of light, haha. I love your videos I have learned a lot, sometimes it costs a little to follow the reasoning that you do to reach a solution but I am excited to continue learning. I am translating some videos so that more Latin Americans can understand them better.
Daniel: only has 10 minutes and yet starts the clock before using the first minute just talking; then spends 8 minutes and 40 seconds making something better than what I would have done in an hour to then use the last 20 seconds to ruin it ahahah
You're a mad genius. This looks like a magic show to me lol, no idea what language you're using, no main function no project filesystem no ide, Jesus are you making stuff on the fly? I'll explore your channel a bit because this is the first video I'm watching and your program looks like it's written in Java syntax, but really unusual code structure.