123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|87|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> AI Threads -> Machine Made Max

Page : 1 2 3 4 5 Prev 6 7 Next 8
Tue, 02 May 2023, 13:22
Jayenkai
If you just want to capture a nice swirling background video that you can throw in the background, could you use the browser?
That opens the door to all manner of thing, not least of which is JSE..
I've also a number of visualiser type things here.
Or there's oldskool stuff like Geiss you can play with.

-=-=-
''Load, Next List!''
Tue, 02 May 2023, 13:39
spinal
Your video thingy looks like just what I was thinking of. Not sure if it can be used directly without a bit of trouble. I can set OBS to capture the whole window, it can be cropped, but the windo needs to be a known size to make the cropped image fit properly. Thats why I was thinking blitz, I could force the window ro be 800x600 or something and it would just pop right into place.

-=-=-
Check out my excellent homepage!
Wed, 03 May 2023, 03:43
spinal
I taped a gyro to my headphones to see how well I can sync Max to my own movements.


View on YouTube

Not terrible. Not Perfrect, but not terrible.

-=-=-
Check out my excellent homepage!
Wed, 03 May 2023, 04:51
Jayenkai
LOL!!
Only a matter of time before you become one with the Max!

-=-=-
''Load, Next List!''
Fri, 05 May 2023, 03:51
spinal
Looking at different options for the movement. Wiimote refuses to pair with my pc and the python libraries don't exist/work anymore.
Switch joycon pairs and can read the it sensor but there is no info anywhere about what the data stream represents.

-=-=-
Check out my excellent homepage!
Fri, 05 May 2023, 03:55
Jayenkai
Could you maybe go full-cyborg, and buy something like this, then stick it inside a headband or something!?!

-=-=-
''Load, Next List!''
Fri, 05 May 2023, 05:39
spinal
I'm using something similar now, but there is a little drifting. Gyros are not in any way shape or form perfect. The Wii combatted that by checking the sensor bar once in a while .

-=-=-
Check out my excellent homepage!
Fri, 05 May 2023, 05:44
Jayenkai
One either side, averaged out?
Fri, 05 May 2023, 10:12
spinal
Trying something else, ordered a digital compass that works with Arduino, I should be able to compare the predicted movement of the gyro with the direction on the compass.

-=-=-
Check out my excellent homepage!
Sat, 06 May 2023, 04:29
spinal
OK something fun happened. Notepad++ has decided to break python compatibility but using tabs wrongly. I updated a couple of days ago and now whenever I add something I get an error about my indentations being wrong, even though the settings are correct (replace tabs with 4 spaces). So now I'm copy+pasting into regular notepad, correcting tabs, then pasting back into the main code.

-=-=-
Check out my excellent homepage!
Sat, 06 May 2023, 04:42
Jayenkai
Ugh, that sucks..
Programmers Notepad is the one I used on Windows. Might be worth giving that a go?

-=-=-
''Load, Next List!''
Sat, 06 May 2023, 07:41
spinal
I'll give that a try, thanks.
Tue, 09 May 2023, 01:54
spinal
Ok, going to try to come up with a way to make the face features look like they move around better, currently they just 'slide'. Like some sort of 2d balloon map, is that a real term?

|edit| A note for my future self, its a GY-271 magnetometer and a GY-521 accelerometer.

This might be useful...> Reveal 🔎

-=-=-
Check out my excellent homepage!
Fri, 12 May 2023, 13:57
spinal
Arduino code snippet to read the GY-271 magnetometer and a GY-521 accelerometer values.



Next step, see if I can find and build the code for this (https://planetkris.com/2014/12/easier-better-arduino-imu-head-tracker/) and add the above code to use my sensors instead.

-=-=-
Check out my excellent homepage!
Tue, 16 May 2023, 12:18
spinal
Hmmm, the magnetometer gives X y and z values. All of the examples I've seen use only the X and y to fine the angle of magnetic north. If you look for usage examples you fine people very carefully keeping the sensor perfectly level when rotating it.
25 years ago I'd have no trouble figuring out how to incorporate the z value so that it still points north when tilted, but so many year of not doing trig means my brain has no idea where to start.

-=-=-
Check out my excellent homepage!
Wed, 17 May 2023, 04:09
Jayenkai
I HATE rotational maths in 3D. That whole Object/World thing, and how it completely mangles all the maths just because it's half a degree out on one axis.
Ugh..
I really don't envy what you have to do to get that bit working.
Good luck!
I'm out!!!

(Zelda : TotK's Ultrahand allows you to rotate objects you've picked up, and ... good grief, even that's a right pain in the arse!)

-=-=-
''Load, Next List!''
Sat, 20 May 2023, 09:06
spinal
dammit, Poe keeps crashing when giving me the answers. Half way through giving me a code example it appologises and starts again, over and over and over and over and over and over.

-=-=-
Check out my excellent homepage!
Sat, 20 May 2023, 09:39
Jayenkai
How odd. It must be catching itself on, doing something against the rules. Bing will shut down entire conversations and delete things, whenever it does that!
Perhaps it's drawing ascii willies with the punctuation or something!!

-=-=-
''Load, Next List!''
Sat, 20 May 2023, 10:14
spinal
Anyway, in theory I have the head tracking working much better, but don't have any python code to test it, only 'processing' code, never heard of that.
Found an actual working example here - https://howtomechatronics.com/tutorials/arduino/arduino-and-mpu6050-accelerometer-and-gyroscope-tutorial/

-=-=-
Check out my excellent homepage!
Tue, 23 May 2023, 11:04
spinal
OK, got the gyro to give fairly accurate rotation data to Max. Dropped the magnetometer idea, there seems to be no need for it. The drift is minimal and I've put a 'reset offset' button on the arduino, so if I notice Max looking the wrong way I can just center him.

Started trapping Serial errors, or rather, checking if the Serial read works, if not, just stop trying, then try again. Seems to work for the usb being accidentally (or purposly) unplugged, in case of the data going wonky. If non numerical data comes through its just ignored.

Next, to start plotting the face around an angle system, that way ot shouldn't look like his features just slide about. Next step after that, will be some sort of resizing code so that the eyes etc get thinner towards the edge of his face, to make it look a little better.

-=-=-
Check out my excellent homepage!
Tue, 23 May 2023, 13:42
Jayenkai
Yikes!! It's like Jim Henson came back from the dead, with A.I.!!

-=-=-
''Load, Next List!''
Tue, 23 May 2023, 14:12
spinal
Oh, now here's a question, if I have the angle of say Max's nose from the centre of the imaginary circle, how the hell do I figure out what angle the outside edge (left or right wouldn't really matter) is if I know the width of the nose image?

-=-=-
Check out my excellent homepage!
Tue, 23 May 2023, 14:59
Jayenkai
*head explodes*

Good grief, that's some crazy batshit maths you've got going on!!
Something like Sin(angle) multiplied by the width of the point, plus half the width of the nose? Does that make sense?

  --v


-=-=-
''Load, Next List!''
Thu, 25 May 2023, 07:07
spinal
trying a 'simpler' way. got Poe trying to create a 3d texture with a loaded image on it, then rotate it. So far so good....
Then getting Poe to add a background texture falls flat on its face. Just a white square, seemingly nothing wrong with the texture image or anything like that.
Currently getting it to duplicate the working square and have it *not* rotate...

So far it has came up with this...






-=-=-
Check out my excellent homepage!
Thu, 25 May 2023, 14:45
spinal
Getting there...

Not sure how the hair will work, he looks a little like a baby robocop at the moment.



-=-=-
Check out my excellent homepage!
Thu, 25 May 2023, 14:54
Jayenkai
A bit too stretchy looking up and down. But otherwise good going!

-=-=-
''Load, Next List!''
Page : 1 2 3 4 5 Prev 6 7 Next 8