#APLQuest 2014-08: Write a function that returns the distance between two points in a space of any number of dimensions (see https://apl.quest/2014/8/ to test your solution and view ours).
#APLQuest 2014-08: Write a function that returns the distance between two points in a space of any number of dimensions (see https://apl.quest/2014/8/ to test your solution and view ours).
Piotr Migda tries to explain vector math magic in 'king β man + woman = queen' using #word2vec π€, but it's basically just a linguistic Ouija board session. π€ Spoiler alert: it's still math, not #sorcery. π§ββοΈβ¨
https://p.migdal.pl/blog/2017/01/king-man-woman-queen-why/ #PiotrMigda #vectorMath #linguisticOuijaBoard #mathNotMagic #HackerNews #ngated
FYI: Vector Search Magic: Superhero & Sporty Car Combo! #shorts: By using vector math, one can combine a DeLorean image with the text query for superhero to generate an embedding. Averaging these embeddings together then allows a search to find a superhero on top of a sporty car with cool lights. #vectormath #image #superhero #DeLorean #embedding https://www.youtube.com/shorts/RMX2A02pP90
ICYMI: Vector Search Magic: Superhero & Sporty Car Combo! #shorts: By using vector math, one can combine a DeLorean image with the text query for superhero to generate an embedding. Averaging these embeddings together then allows a search to find a superhero on top of a sporty car with cool lights. #vectormath #image #superhero #DeLorean #embedding https://www.youtube.com/shorts/RMX2A02pP90
Vector Search Magic: Superhero & Sporty Car Combo! #shorts: By using vector math, one can combine a DeLorean image with the text query for superhero to generate an embedding. Averaging these embeddings together then allows a search to find a superhero on top of a sporty car with cool lights. #vectormath #image #superhero #DeLorean #embedding https://www.youtube.com/shorts/RMX2A02pP90
#100DaysOfCode day 18:
I finished the chapter bout #Vectors and #VectorMath. And I am happy to be moving forward. Not fully up to "top speed" brain wise, but getting better each day. Sleeping helps a lot.
#NatureOfCode #P5JS #JavaScript #CreativeCode #GenerativeCode
#!00DaysOfCode day 16:
More #vectorMath and more acceleration for vectors, but still a laugh. Can make me happy for a few hours to something "stupid" on the computer :)
#Math #JavaScript #P5JS #NatureOfCode #CreativeCode #GenerativeArt
#!00DaysOfCode day 15:
Mentally hard day, and to little sleep, but I can divert my thoughts by #coding, so I did the section in #NatureOfCOde about velocity.
#JavaScript #P5JS #CreativeCode #GenerativeArt #Math #vectorMath
#100DaysOfCode day 13:
A bit to much beer and a little late to sleep last night, so not much done today, but I did continue with some #vectorMath and #NatureOfCode, today it was multiplication.
#Javascript #CreativeCode #GenerativeArt #Math
#100DaysOfCode day 12:
One upside with not being able to sleep, it you have a lot more time to study. Worked on #NatureOfCode and more #VectorMath, today vector subtraction in #P5JS.
Had a little look on a #webProject for another friend, and started to make a #designSketch.
#WebDev #Math #Javascript
#100DaysOfCode day 11:
More of the same. #vectorMath in #P5JS. Made a random walker that uses a velocity random vector. And I am pretty happy about that, took some searching on the web, but finally got the right result.
#Javascript #CreativeCode #Math #generativeArt
#!00DaysOfCode day 10:
Still hard to sleep pat night, but I did enter the exiting world of #vectorMath in the #NatureOfCode book. Still interesting, but my brain isn't up to full speed yet, hopefully it will come soon.
#100DaysOfCode day 9:
Not much sleep to night and a bad day, but took an hour to re-read about #vectorMath in #P5JS, and made example 1-2 in the #NatureOfCOde book. Hopefully more up to make something serious
#Javascript #CreativeCode #GenerativeCode
#VectorMath #GodotEngine #Help
Can anyone explainify a thing to me?
See : https://docs.godotengine.org/en/3.0/tutorials/math/matrices_and_transforms.html
There's a part where they say:
"This was expected, but then letβs do something more interesting. Use the dot product of X and the point, and add it to the dot product of Y and the point:
var final_pos = Vector2(x.dot(new_pos), y.dot(new_pos))"
And I can hear the point wooshing over my head. They also say they explained it before, but I can't find that 'splain.
Halp!
π¦
Looking for good resources on rasterizing 3D to 2D.
Use case is a game that sends PNG images of a view of a system.
The view is from a player's perspective. I have their x,y,z, the x,y,z they're observing, their field of view.
I'm stuck at how to determine the plane this view projects on.
I know the distance between observer and the one point on that plane but don't understand how to make a plane perpendicular to the line.
Good stuff about 2D collision detection.
https://timallanwheeler.com/blog/2023/01/27/2d-player-collision-against-static-geometry/