World's First Programmable Magic Wand!

Linus Tech Tips ·Linus Tech Tips ·2019-05-06 · 1,737 words · ~8 min read
Floatplane YouTube

Transcript

JSON SRT VTT 140
0:00 today i am having an experience like no other literally because thanks to kano
0:05 sponsoring this video i will be the first person in the world
0:10 who gets to cover the harry potter cano
0:14 coding kit in their own words
0:17 you will build a wand for yourself
0:20 learn to code and you will yes this is a direct quote from the packaging wave
0:26 your coding wand
0:29 let's find out how that works
0:42 okay so the software is currently pre-released for this so i've gone ahead
0:46 and i've assembled an entire array of every device that the final product will
0:50 support so i've got iOS Android macOS and Windows but i'm going to go ahead
0:56 and as much as this is going to be a struggle for me i'm going to use the mac
0:59 os version of it because that's apparently the one that is the most
1:03 complete right now so we're not going to be having the entire experience because
1:08 it's not done i mean there is no entire experience
1:11 because you can like i've actually got some experience with the original cano
1:16 computer kit i built it with my son and he's actually used it quite a bit since
1:20 then and there's not really like um there's not like like a beat the boss
1:24 and it's over type thing like it's more of a of a learning product but we aren't
1:28 going to have even the entire pre-canned experience because it's not quite done
1:33 yet so
1:37 there we go so this is it come on over here
1:41 ollivander would be proud how to make a wand the handbook
1:45 go ahead and put that there
1:50 look at this they got like a little thing you just okay
1:54 all right so um snap click swish swish and flick
1:59 i haven't watched the movies in a while but i'm still getting i'm still getting
2:02 the references here oh wow there is a spell guide
2:09 stupefy wingardium leviosa
2:13 it's leviosa not leviosa no leviosa not leviosa
2:20 why do i know these things i'm sorry
2:24 i know i know lumos
2:27 so these are some of the gestures that you can do quick guide to one motions i
2:31 totally i totally want this poster like
2:34 regardless of the product i like actually would just buy this poster
2:41 uh what else we got here okay we could look at the instructions
2:44 that's a thick instruction book this is your wand it's made of plastic
2:49 rubber copper and electronics
2:53 okay got your wand tip got a lanyard so you
2:56 don't throw it into the tv wand handle wand brain
3:01 button and two aaa batteries let's build
3:04 your wand pick up this piece they really do make this stuff simple that was
3:08 something that i thought they did a great job of when i built the cano computer kit with my son i mean even he
3:12 was able to do it he wasn't even six yet okay pick up this piece got it
3:19 it's called a printed circuit board or pcb look closely at the parts oh that's
3:23 fun so there's your power controller so charging must come in somewhere near
3:27 there but i don't actually see it here's our processor here's an activity
3:33 light of some sort here's our codable vibration motor oh cool there's
3:38 vibration feedback so the bluetooth antenna this is fun actually this is
3:42 cool so a lot of people think that devices that don't have external
3:46 antennas don't necessarily have antennas but what they actually are is they're
3:50 generally copper on a printed circuit board so you can see in order to make
3:53 the antenna longer than it would otherwise be able to be they've gone and
3:57 they've snaked it like this neat right learned something every day here's some
4:01 sensors here's the button and then this is a coatable light so
4:06 you've got both vibration and light feedback
4:13 let's add some power turn the pcb over there you go so the batteries just go
4:16 right in there bippity boppity ha ha that's not harry potter never mind
4:23 that's where the batteries go okay so we got oh that is RGB like in that
4:28 our bluetooth looks like it's in pairing mode oh wow wow these are really step by step
4:34 slot the first i'm way ahead of you way ahead of you make sure your
4:38 batteries are facing this way got it
4:42 flip the pcb over make sure the blue light is on if not check the batteries
4:46 are the right way around got it inside this little black square are
4:52 three sensors a gyroscope that senses gravity so the wand will know which way
4:56 is up and down an accelerometer so the wand will be able to know how fast it's
5:01 going and a magnetometer to calculate the wand's direction
5:08 so gravity speed right it's almost looking like a like a spell guide now
5:13 we're getting there we're getting close
5:17 so it knows if you're moving it up down forward backward left right
5:22 fast or slow that's cool
5:26 so basically there's almost no limit if you can get your
5:31 muscle memory just right to what you could do with it okay more instructions
5:36 on how to put in the button i'm good i figured that out wow they really yup
5:39 they're making it simple flip it over make sure the button's peeping out i
5:42 think we got this this looked like heavy reading but
5:46 actually it's not pick up your wand with it you'll do great things
5:52 with the right movements the right words a bit of curiosity and courage look at
5:57 this when this then flame particles one x flame particles
6:02 one y that's cool can make feathers float flames flow
6:07 jelly beans grow and gorgio first challenge
6:12 let's use your coating wand to make a feather levitate
6:16 open the objects tray got this
6:19 drag the block onto your code space change seconds to milliseconds and open
6:24 the physics tray and drag this block right about there so
6:28 every one millisecond do object set position of all to x and y coordinates
6:33 of the wand cool so
6:36 drag this block into your code space throw that on to your x position
6:41 whoops boop there you go and then we also need the wand y
6:45 position there we go and then we open the physics tray and set the angle to
6:50 oh i see what we want to do so we want to change pitch to roll
6:56 that way we can roll the feather around very cool so you
7:00 can actually see a preview see that
7:04 so you can wave and roll your wand and watch the feather match your movements
7:09 and then uh reducto
7:16 you can choose what kind of beans you want we could do uh
7:21 regular beans and gorgio
7:28 can you guys hear the the uh the vibrating feedback oh i can't make them
7:31 any bigger okay reducto
7:35 i'm a wizard arie so we're gonna cast cast immobilis on a swarm of cornish
7:40 pixies will do change all to random and change 0 to 60
7:46 so they fly towards each other so this is going to be quite the swarm
7:50 of pixies then so this is creating our pixies
7:54 then we need to create a wand action to control these bloody
7:59 things we've got our one centered thanks to the power of block coding even
8:04 i was able to figure it out so now we can restart the program you
8:08 can see what happens is we have a bunch of pixie spawn and they're running all
8:13 over the place in zero gravity boom off it goes and then you go like this
8:19 and they freeze immobilize
8:23 last challenge now we get to create fire
8:28 this is actually the part i was waiting for first add a loop so we are always
8:33 generating particles one of the neatest things about the software is that you
8:37 can see what's happening in real time over on the side
8:40 so i can see that every one second is not great
8:44 so now every one millisecond now we get a
8:47 thousand times as much fire and then if i were to point my wand at the screen
8:52 here i'm just going to center it again boom
8:55 now i'm creating these these particles that are flying out from the point of
9:00 the wand so you can see the cursor there as well
9:04 there you have it summoning fire out of the wand
9:07 and you can follow along with absolutely everything that we changed so now
9:12 instead of having uniform particles we've made them clumpier we've made them
9:16 change color and we've made them go from bigger down to smaller so that you get a
9:20 much more realistic fire like effect with your wand so this
9:25 is just a small slice of what you'll be able to do with the harry potter cano
9:29 coating kit you will actually be able to
9:32 program actions for gestures and just
9:36 like the original cano the sky is the
9:39 limit in terms of your creativity so yes there's going to be
9:43 tutorials and demos and little challenges that you can complete if
9:48 you're looking to take a harry potter fan in your life be they small or
9:53 adult sized and introduce them to the power of coding but then
9:57 the real fun is to be had in the learning experiences that you can have
10:01 after you've completed the in the box challenges so
10:04 guys it's going to be available for 99.99 starting october 1st and you can
10:09 pre-order it right now at the link in the video description guys if you want
10:13 to find out more information you can check out the link in the video description thank you for watching and
10:18 thanks again to kano not only for sponsoring this video but also for
10:22 letting me be one of the first people in the world to experience this piece of
10:27 computing magic