Coding Challenge 181: Weighted Voronoi Stippling

Поділитися
Вставка
  • Опубліковано 16 тра 2024
  • Stippling is an artistic technique that uses numerous dots to craft an image. In this coding challenge I attempt to implement a weighted Voronoi stippling algorithm with p5.js along with the Delaunay triangulation package from d3.js. Code: thecodingtrain.com/challenges...
    🚀 Watch this video ad-free on Nebula nebula.tv/videos/codingtrain-...
    p5.js Web Editor Sketches:
    🕹️ Weighted Voronoi Stippling: editor.p5js.org/codingtrain/s...
    🕹️ Circumcircle: editor.p5js.org/codingtrain/s...
    🕹️ Delaunay Triangulation: editor.p5js.org/codingtrain/s...
    🕹️ Voronoi Diagram: editor.p5js.org/codingtrain/s...
    🕹️ Voronoi Phyllotaxis: editor.p5js.org/codingtrain/s...
    🕹️ Voronoi Diagram colored by area: editor.p5js.org/codingtrain/s...
    🕹️ Lloyd's relaxation: editor.p5js.org/codingtrain/s...
    🕹️ Weighted Stippling - Size and Color: editor.p5js.org/codingtrain/s...
    🕹️ Weighted Stippling - Abstract Pattern: editor.p5js.org/codingtrain/s...
    🕹️ Weighted Stippling - Video: editor.p5js.org/codingtrain/s...
    🎥 Previous: • Coding Challenge 180: ...
    🎥 All: • Coding Challenges
    References:
    🔗 d3-delaunay: d3js.org/d3-delaunay
    🔗 Weighted Voronoi Stippling: www.cs.ubc.ca/labs/imager/tr/...
    🔗 Sweep Line Algorithm: en.wikipedia.org/wiki/Sweep_l...
    🔗 Lloyd's algorithm: en.wikipedia.org/wiki/Lloyd%2...
    🔗 Polygons and meshes by Paul Bourke: paulbourke.net/geometry/polyg...
    🎨 Pablo Jurado Ruiz: / pablojuradoruiz
    🔗 Stippling: en.wikipedia.org/wiki/Stippling
    🔗 Voronoi Diagram: en.wikipedia.org/wiki/Voronoi...
    🔗 Delaunay Triangulation: en.wikipedia.org/wiki/Delauna...
    🔗 Mike Bostock's Voronoi Stippling: observablehq.com/@mbostock/vo...
    Videos:
    🚂 Pixel Array: • 11.3: The Pixel Array ...
    Related Coding Challenges:
    🚂 C4 Worley Noise: • Coding Worley Noise
    🚂 33 Poisson-disc Sampling: • Coding Challenge #33: ...
    Timestamps:
    0:00 Hello!
    0:37 What is a Delaunay triangulation?
    2:31 d3-delaunay package
    2:49 Coding the delaunay triangulation.
    6:38 What is a Voronoi diagram?
    9:17 voronoi function on the delaunay object
    10:25 Things you could try with the Voronoi diagram
    10:56 Lloyd's "relaxation" algorithm
    12:07 Calculate the average of a polygon's vertices
    15:30 Calculate the area of a polygon
    16:45 Calculate the proper centroid of a polygon
    18:47 What is stippling?
    19:45 Draw dots based on brightness value of pixel
    21:50 Calculate a weighted centroid
    24:51 Using delaunay.find()
    27:52 Ideas for you to try!
    28:47 Goodbye!
    Editing by Mathieu Blanchette
    Animations by Jason Heglund
    Music from Epidemic Sound
    🚂 Website: thecodingtrain.com/
    👾 Share Your Creation! thecodingtrain.com/guides/pas...
    🚩 Suggest Topics: github.com/CodingTrain/Sugges...
    💡 GitHub: github.com/CodingTrain
    💬 Discord: thecodingtrain.com/discord
    💖 Membership: ua-cam.com/users/thecodingtrainjoin
    🛒 Store: standard.tv/codingtrain
    🖋️ Twitter: / thecodingtrain
    📸 Instagram: / the.coding.train
    🎥 Coding Challenges: • Coding Challenges
    🎥 Intro to Programming: • Start learning here!
    🔗 p5.js: p5js.org
    🔗 p5.js Web Editor: editor.p5js.org/
    🔗 Processing: processing.org
    📄 Code of Conduct: github.com/CodingTrain/Code-o...
    This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
    #delaunaytriangulation #imagestippling #voronoi #sweepalgorithm #lloydsalgorithm #p5js #javascript

КОМЕНТАРІ • 186

  • @TheFlimTV
    @TheFlimTV 2 місяці тому +98

    I love how this feels both like a University Lecture, and a kids educational channel!

  • @xM0nsterFr3ak
    @xM0nsterFr3ak 2 місяці тому +127

    14:40 "This is lovely, but it's collapsing into an black hole..." That's a very funny quote 😂

    • @justind4615
      @justind4615 2 місяці тому +3

      it looks so organic there

    • @jaredgreen2363
      @jaredgreen2363 2 місяці тому +5

      Accidentally made a gravity simulator…

  • @DanielMiclos
    @DanielMiclos 2 місяці тому +229

    I just wanted to drop by and express my heartfelt appreciation for the amazing content you've been sharing on your channel. Your videos are not only educational, but also a huge source of inspiration for me and many others in the coding community. The generosity with which you share your knowledge and passion for coding is truly commendable. Thank you for being such a fantastic resource and for all the hard work you put into making complex concepts accessible and fun. Keep up the incredible work!

    • @tiagdvideo
      @tiagdvideo 2 місяці тому

      100%!

    • @Haagimus
      @Haagimus 2 місяці тому +1

      Would like to second this as well Daniel for making both education and programming fun and at the same time. I've watched you for years and years and I have always enjoyed everything that you've made, especially the coding challenges. For a little while, I even replicated some of the coding challenges in Python using the p5 package for python. Keep up the great stuff and don't ever stop Sir!

    • @akardasis
      @akardasis 2 місяці тому +2

      I was going to say "This rules. You rule". But your's is more good words.

  • @vcvracarkad
    @vcvracarkad 2 місяці тому +36

    I'd love to see this done for each R G B channel individually. i think that would create a really cool comic book type of effect.

  • @nicolaswinck9562
    @nicolaswinck9562 2 місяці тому +19

    how fascinating it was to see Gloria Pickle turning into Gloria pixels! you make it look so easy!

    • @radadadadee
      @radadadadee 2 місяці тому +3

      I program for a living and I couldn't agree more. He makes it looks so easy! But I know it's much more complicated, he's just so good at his job.

  • @conorohagan9947
    @conorohagan9947 2 місяці тому +16

    I love your enthusiasm and I really appreciate that you show your mistakes and laugh about them. Let's be honest, learning to program is boring. You make it really fun.

  • @orangejuice732
    @orangejuice732 2 місяці тому +20

    In college a was an undergraduate research assistant converting a 2d voronoi lattice simulation to 3d. 7 years later I think I finally have a grasp on what that simulation was actually meant to do because of this video so thank you.

  • @HeadmostCantaloupe
    @HeadmostCantaloupe Місяць тому +3

    I love the new editing style Dan! Feels refreshing to see intros and the Apple ][ jingles being used in the beginning of the video!

  • @MyCodingDiarie
    @MyCodingDiarie 2 місяці тому +8

    You're doing a fantastic job. Don't ever stop creating!

  • @CocoaBeans660
    @CocoaBeans660 2 місяці тому +2

    This guy makes me so happy and is such an inspiration for UA-cam and coding in general. I love it

  • @sentinelaenow4576
    @sentinelaenow4576 2 місяці тому +12

    The Coding Train is by far the most awesome educational and inspiring coding lessons there is. Thank you so much for sharing your coding adventures, you are the best. ♥

  • @barco10001
    @barco10001 2 місяці тому +1

    In all my (few) but intense years of learning creative coding I have not had a greater source of learning and inspiration from your channel. Your ways of teaching and exploring deep and complex topics of creative coding are amazing, fun, and highly enjoyable. The coding community cannot thank you enough!

  • @dr_ned_flanders
    @dr_ned_flanders 2 місяці тому +2

    Wonderful video, Daniel. I love how each video is so visual and leads me to learn a new algorithm or mathematical technique as well as improving my coding.

  • @RyanMcCoppin
    @RyanMcCoppin 18 днів тому

    Dude, you are doing a great job. You are personally entertaining, you are providing problem solving techniques and the projects you are doing are very cool. I'm glad I found this channel.

  • @mariovelez578
    @mariovelez578 2 місяці тому +1

    Can’t believe this guy taught me so many wonders of coding back in the day and he’s still going! Keep up the good work!

  • @Rand00mThing
    @Rand00mThing 2 місяці тому +5

    Wow I admire your coding skills. I could not do what you keep doing. I don't have the passion to always throw myself into new coding problems.
    I will never forget you, "Coding Rainbow" 🙏

  • @TheMasonX23
    @TheMasonX23 2 місяці тому +2

    As a former graphics programmer, I loved this! Also, your enthusiasm and positivity is infectious! Love it man, always happy to hop on board!

  • @justind4615
    @justind4615 2 місяці тому

    Im so excited! I saw your video on nebula tv but i didnt had any subscription so i couldnt watch i didnt think you would upload it this early

  • @Autopawn
    @Autopawn 2 місяці тому +2

    Thank you! Your work is inspiring 😄

  • @astropgn
    @astropgn 2 місяці тому

    This has been my favorite channel since I don`t know, 2017

  • @kasperchristensen8416
    @kasperchristensen8416 2 місяці тому

    Thank you for another great video, Mr. Shiffman 😁👍

  • @krepker
    @krepker 2 місяці тому +1

    Mindblowing His ability to pick some abstract concept and just use it to solve an real problem in minutes

  • @gfabasic32
    @gfabasic32 2 місяці тому

    Such a great series!

  • @BillionPlusOne
    @BillionPlusOne 2 місяці тому

    This was super fun to watch, thanks so much!

  • @gazzaka
    @gazzaka 2 місяці тому

    You are brilliant...loving the videos, thanks 🙂

  • @JUNGELMAN2012
    @JUNGELMAN2012 2 місяці тому

    Hands down....Black belt in coding. I love it.

  • @hamiltonianpathondodecahed5236
    @hamiltonianpathondodecahed5236 2 місяці тому +1

    Every time you introduce some idea, I feel like, "yeah sure, I know the math, that's how that works, no way you can implement it in a single video", then you simply code it up. I am amazed.

  • @munzeralseed
    @munzeralseed 2 місяці тому +21

    Love it! It reminds me of a technique you used before, which is Floyd-Steinberg dithering. However, this one seems more challenging since you used an external library, but it sets a challenge to write the whole algorithm from scratch and optimize it, which I think I will attempt!

    • @TheCodingTrain
      @TheCodingTrain  2 місяці тому +6

      oh, please do! I would love to see it!!!

    • @SianaGearz
      @SianaGearz 2 місяці тому

      Floyd Steinberg performs error diffusion in some direction, whatever direction you're scanning towards, say towards bottom right, so if you apply it to a moving image, your start of scan is relatively stable say top left corner but your bottom right is very noisy. This isn't visible in static images, only moving.
      You could potentially start scanning out from the middle but that doesn't really solve the problem, it will still be obvious where the noise is eminating from.
      There's a more modern algorithm with a similar visual outcome to Floyd Steinberg but without bias in any direction, where you use a precomputed blue noise as a threshold function, and you can reuse the same across frames or use a spatiotemporal variant, and the way to compute this blue noise, the foundation is in this very video - Lloyd's Relaxation of a random point set.
      Blue noise sampling is the foundation of a lot of modern stochastic rendering methods in graphics. There's a whole research group at Nvidia concerned with blue noise.

    • @landsgevaer
      @landsgevaer 2 місяці тому

      You don't need voronoi for how it was eventually done.
      You could just determine the point that is closest to the pixel ... (That point's voronoi cell will contain the pixel.)

  • @f_48irfanshaikh29
    @f_48irfanshaikh29 2 місяці тому

    Cool as always

  • @menaced.
    @menaced. 2 місяці тому +9

    This is basically just shader math, you should try doing a video about/using glsl or hlsl, theres some fun stuff you can do with them, maybe use shader toy? (Never used it bc Im a gamedev so use shaders in engine/in opengl)

  • @riccardoronconi2146
    @riccardoronconi2146 2 місяці тому

    Well. This was pretty amazing

  • @rohitwesley
    @rohitwesley 2 місяці тому +2

    Hay i been braking my head on this algo for the last yr, was exploring how to go from delaney to nanite 😂 and went as mad as you have, 😅 the fact that u had a hard time, makes me not feel so dumb anymore, not to take anything away from you, love your stuff watch as many as i can, would love to see you experiment with shadertoy constraints and do some crazy stuff 😊

  • @adamgliwa896
    @adamgliwa896 2 місяці тому

    Hard work, and good explanation. Very helpful! 👍

  • @69zwaan
    @69zwaan 2 місяці тому

    you have a great program of all time. 😊 I like to watch your own coding. nice.

  • @pattvira
    @pattvira 2 місяці тому +2

    I felt so relaxed watching this 😌with a nice touch of Dan's enthusiastic sounds every time he got the next thing to work. Jokes aside! Got lots of inspiration from this tutorial - thank you Dan!

  • @EkimElectro
    @EkimElectro 2 місяці тому

    Watched this. Gzzz my head did hurt. You do make it look easy.

  • @xenedon1509
    @xenedon1509 2 місяці тому +1

    well that was awesome

  • @dgo4490
    @dgo4490 2 місяці тому +1

    This algorithm is good for relaxing UV maps for unfolded meshes for artist texturing. The "raster dots" effect can easily be achieved by averaging the image into boxes of n by n pixels and drawing a circle scaled to the magnitude of the average value. Instead of scaled the dot can also be proportionally occluded by another offset dot masking it out, or a hole dot within the dot and whatnot...

  • @Hamomim1
    @Hamomim1 2 місяці тому

    My brain hurt, but I was amazed by the beauty of mathematics and your explanation. I have been following it more or less for years. thanks

  • @MarioTorre
    @MarioTorre 2 місяці тому

    Pretty good stuff. This seems a very useful method to correctly simulate film grain in a digital photo

  • @StefanWolfrum
    @StefanWolfrum 2 місяці тому

    Wow, so cool!!! ❤

  • @stabilini
    @stabilini 2 місяці тому

    Amazing content, thanks !

  • @DaleHawkins
    @DaleHawkins 2 місяці тому +1

    Thanks!

  • @knevari3952
    @knevari3952 2 місяці тому

    You are the best !

  • @nembobuldrini
    @nembobuldrini 2 місяці тому

    fascinating and relaxing

  • @mrmb84
    @mrmb84 2 місяці тому

    The black hole! 😯 Unexpected but so cool!

  • @Crazyclay78YT
    @Crazyclay78YT 2 місяці тому

    oh man ive been wanting to do this

  • @paper_airplane
    @paper_airplane 2 місяці тому

    Just wanted to note that there are more sophisticated stippling algorithms, like the one based on power diagrams, which is a generalization of Voronoi diagrams (implementing it _is_ a coding challenge). See "Blue noise through optimal transport" paper for details.
    Besides, you check whether the center of each pixel is inside the Voronoi cell to calculate its mass center. Considering each pixel as a square and calculating the intersection area with each Voronoi cell will give a significant quality improvement for the Lloyd algorithm.

  • @realcygnus
    @realcygnus 2 місяці тому

    Good one Dan !

  • @randospawn7495
    @randospawn7495 2 місяці тому

    I like dithering in art, it looks cool

  • @Flackon
    @Flackon 2 місяці тому +3

    Back in the day I made a random map generator and the coastlines and elevation features were drawn via voronoi diagrams. I coded the main app in p5 but also imported d3 for the voronoi computations, so, yeah. No shame in that, lol.

  • @Jova
    @Jova 2 місяці тому

    Awesome!

  • @HomeofLawboy
    @HomeofLawboy 2 місяці тому +1

    14:43 God coding the fabric of spacetime

  • @IgneousGorilla
    @IgneousGorilla 2 місяці тому

    Amazing video!

  • @givemeyourmoneynao
    @givemeyourmoneynao 2 місяці тому

    Cool video. I took a computational geometry algorithms class in college where we created voronoi diagrams using a beach line sweep algorithm in nlogn time. One of the more difficult classes I had, but a lot of cool problems too.

  • @DarkoRomanov
    @DarkoRomanov 2 місяці тому

    The black holee is mesmerizing

  • @PumpiPie
    @PumpiPie 2 місяці тому +1

    amazing :D

  • @programmieraufgaben8391
    @programmieraufgaben8391 2 місяці тому

    thats cool!

  • @clearwavepro100
    @clearwavepro100 2 місяці тому

    Excellent!! :)

  • @sachinsurya007
    @sachinsurya007 2 місяці тому

    You are Bob Ross of programming

  • @kuoyulu6714
    @kuoyulu6714 2 місяці тому +1

    I have no idea whats going on but this is so cool 😃

  • @soadsam
    @soadsam 2 місяці тому +5

    babe wake up! new coding train video just dropped!

  • @Tomtekavler
    @Tomtekavler 2 місяці тому +1

    I can't and have never coded in my life but i still love your videos!

    • @SianaGearz
      @SianaGearz 2 місяці тому

      You can. Just start somewhere and one step at a time.

  • @tyhuffman5447
    @tyhuffman5447 2 місяці тому +1

    Stunning as always!

  • @ThugLifeModafocah
    @ThugLifeModafocah 2 місяці тому +1

    I understood the absolute number of ZERO things. Thank you.

  • @aeschynanthus_sp
    @aeschynanthus_sp 2 місяці тому +1

    The formula for the area of a polygon is the famous shoelace formula! Mathologer, among other people, has a nice video about it.

  • @vicentesoto1628
    @vicentesoto1628 2 місяці тому

    geez xD this is high vibration content
    Loved it
    Is it maths, cs or stand up comedy though

  • @archi_designer
    @archi_designer 2 місяці тому

    Very nice, with c# will be also useful

  • @galzajc1257
    @galzajc1257 2 місяці тому

    fun fact: we just had those in our first lecture of solid state physics this monday. i'm deffinitely tempted to make a 3D version of this, and make it efficiently, that seems like a fun geometric problem.

  • @EXPLAIN_TO_YOURSELF
    @EXPLAIN_TO_YOURSELF 2 місяці тому

    Maybe I should leave a comment on each video you upload. Whenever I'm coding or facing a task, I play one of your challenge videos. They inspire and empower me to overcome the obstacles in my tasks.

  • @HexaflexagonFan
    @HexaflexagonFan 2 місяці тому

    the point where you made the points relax based on the centre of gravity could (maybe) be used for liquid simulation

  • @tiosam1426
    @tiosam1426 2 місяці тому

    It's a translation of light and shadow with a circle radius variation.

  • @aleksander5127
    @aleksander5127 2 місяці тому


    I love your content. If you allow me, here is a suggestion. You could implement an algorithm to find the path to the goal on the Micro Mouse Race.

  • @JaafarCherkaoui
    @JaafarCherkaoui 2 місяці тому

    Nice

  • @anon_y_mousse
    @anon_y_mousse 2 місяці тому

    This does look like fun. I think I'll try it in C with RayLib, and use color. This might make for a really cool image viewer.

  • @yertzar775
    @yertzar775 2 місяці тому

    This is actually part of Solid state Physics formulation of the K-Space for electrons

  • @PeterHellmich
    @PeterHellmich 2 місяці тому +2

    Could be a beautiful effect to transform from the totally distributed dots to those of the image.

    • @munzeralseed
      @munzeralseed 2 місяці тому +1

      He already did it with the logo at 0:09 and it looks so cool!

    • @PeterHellmich
      @PeterHellmich 2 місяці тому

      Okay but how? Simply the reversed process?

    • @munzeralseed
      @munzeralseed 2 місяці тому

      Yes I think so

  • @landsgevaer
    @landsgevaer 2 місяці тому

    Instead of converting points to voronoi, and then figuring out which polygon a pixel is in, you could just determine which point is closest to the pixel...
    (The trick with remembering the previous pixel's index still works, or you could use a k-d Tree to make it efficient.)

  • @adrinoadrino6832
    @adrinoadrino6832 2 місяці тому

    Reminded me of Origami and Crease Pattern

  • @Sama_09
    @Sama_09 2 місяці тому

    Now we need this in python

  • @divyanshu8874
    @divyanshu8874 2 місяці тому

  • @ThankYouESM
    @ThankYouESM 2 місяці тому

    I accidentally created a far simpler solution which is what I call radius occupy (by brightness) whereas it does a scan starting from darkest colors, spacing_radius = 25-(r+g+b)//3//25 or break if less than 1, which it will pop out the var xy array points of the var dot_radius + spacing_radius. meaning the whatever color is within that circle which got popped out will not get scanned. Super simple.

  • @samable9585
    @samable9585 2 місяці тому

    I like ,relax, followed by head scratching 😂😂

  • @olli3686
    @olli3686 2 місяці тому

    Wow! Last week, I wrote a kinetic voronoi algorithm which doesn't require any triangularization

  • @kevinrichter6503
    @kevinrichter6503 Місяць тому

    Small mistake on 9:07, where the last circumcircle of the right triangle should be. But overall, that was a fun and educational coding challenge! As always ;)

  • @aquelaquelaquelaquel
    @aquelaquelaquelaquel 2 місяці тому

    Man.. I really love your videos although I don't code almost at all.. but damn i like how you integrate things that are pure abstractions for me into applicable real projects. You are a true professor.

  • @PaulMurrayCanberra
    @PaulMurrayCanberra 2 місяці тому

    @4:31 Other ways to convert an array of x/y into a flat array of pairwise numbers:
    const somePoints = [{x:1,y:2},{x:3,y:4},{x:5,y:6}];
    const method2 = [];
    somePoints.forEach(p => {
    method2.push(p.x);
    method2.push(p.y);
    });
    console.log(JSON.stringify(method2));
    const method3 = somePoints.reduce((vec, p) => vec.concat([p.x, p.y]), []);
    console.log(JSON.stringify(method3));
    .forEach is quite a bit better than writing for loops. .reduce is for functional programming weenies, although it is admittedly cool and tends to be compact.

  • @flameofthephoenix8395
    @flameofthephoenix8395 2 місяці тому

    While unrelated to this particular video, surely this comment section is as good as any! I was thinking about how it may be nice to see what you can do with exclusively bill-boarding in 3d graphics, there's of course traditional bill boarding, but you can also make other bill boarding rendering techniques, like for instance rendering 3d lines, this is where you position your image in-between the projected versions of two points then scale it up according to the distance between them and rotate it to fit between, this works really well for a similar cost to standard bill-boarding, you can also do something similar to traditional bill boarding but where you place the image at the incenter of the projected version of a 3d triangle and of course scale it to the size of the incenter too, though I haven't worked out how you could also try incorporating rotation into that to make it a little better. Regardless, I'm curious just how far you could go with just methods like these, I've already made some interesting things with it like a spider since spiders are mostly just lines anyway that could be made out of the 3d line rendering, similarly skeletons would be easy, but for anything beyond that you may need to get super artistic with both traditional and incenter bill boarding plus possibly making new rendering techniques.

  • @KeithKritselis
    @KeithKritselis 2 місяці тому +2

    “Let's put them into an array. And lerp the original points towards the centroid.” It seems weird that I understand that...

  • @user-zo1kn8ob7h
    @user-zo1kn8ob7h 2 місяці тому

    how did you and the paper fit under your pillow and did you use protection? twofish?

  • @RedHair651
    @RedHair651 2 місяці тому

    I'm currently learning Apps Script for work as a Python person in private, and this video gave me violent flashbacks.

  • @flameofthephoenix8395
    @flameofthephoenix8395 2 місяці тому

    0:39 Yeah! I kind of am a little confused about that particular thing, currently what I've always thought them to be was when you take a bunch of points with a given radius, then starting with the highest radius and going down just render every circle, then bits closer to a point will be prioritized over ones further resulting in segments being created. But it was never really clear whether this was actually Voronoi or just another simpler method intended to replicate it.

    • @flameofthephoenix8395
      @flameofthephoenix8395 2 місяці тому

      8:29 Ah! So, it sounds like the method I learned actually is Voronoi and it's much more efficient for finding the areas than the method of having each pixel calculate their distance.

  •  2 місяці тому

    Would it be possible to use both diagrams and other algorithms shown in this video to let's say, triangulate a person's unknown position? I'm no spy nor stalker of any sort, just remembered I was addicted to tv series called Numbers which used Math to solve crimes (of course in Hollywood style, but you get the point).
    My idea here is how Math can be used to almost anything in life, rather than drawing (which is awesome too).

  • @muhammadikmal9626
    @muhammadikmal9626 2 місяці тому

    Where did you do your livestreams?

  • @geoffwagner4935
    @geoffwagner4935 2 місяці тому

    Who ever decided on "ducks" at Columbia Collage was a genius, you'd have to be to pick an animal that just says quack all day long as they walk up and down the sidewalk.

  • @blacklion79
    @blacklion79 2 місяці тому

    I wonder, is this algorithm used in high-end RIPs to convert gray-scale image to BW one for printing?

  • @MrDouglax
    @MrDouglax 2 місяці тому

    And if you colapse more the dots on darkness areas?

  • @undergraduate6050
    @undergraduate6050 2 місяці тому

    It is used in that point me website.

  • @frossida
    @frossida 2 місяці тому

    How is this (or is it) related to denoising algorithms used in image processing?

  • @pete_thompson
    @pete_thompson 2 місяці тому

    I hope one of you train enthusiasts can answer this - how did you know the delaunay portion of the d3 library was available from the cdn (with that particular url)? I looked on the d3 site and I couldn't find the option of linking to just portions of the d3 libraries without using import statements etc. I much prefer your method of just putting it as a source in index.html, but don't know how to find that it exists? Great video!