One pixel equals what?

math

#21

My guess is that the measurement of one pixel is consistent across devices…


#22

Yes, it should be.


#23

Pixels aren’t the same size on different devices unless they are the same type of device I’m pretty sure


#24

My iPad is 196 millimeters. (that would be 19 centimeters and 6 millimeters) and the amount of pixels across the width of the screen according to Hopscotch is 1024. We just need to figure out how much one pixel equals which is… wow, ok. One pixel appears to be 0.19141mm unless I did the math wrong. I mean, I divided 196 by 1024. Is that right?

@DECODECO @MyPizza Could you guys do that math for your device and see if you come out with the same answer?


#25

I can do it too!
.,.,.,.,


#26

Sounds right to me! So if you had Hopscotch multiply the width and length of your screen would that equal the amount of pixels your screen has?


#27

Yes. Of course.
.,.,


#28

Alright, please do. Measure your screen and divided it by the width of your project To get the width of your project, create a project with a set text block that is set to width (or height depending on what you measured)


#29

That sounds right… but I don’t know… I think if we multiply width times height, we would understand how many pixels our screen has, but then again, I just don’t know.


#30

Well… here?


#31

Now try and measure the height and divide it by 768. If they are the same or close to the same size, that pixel measurement would be correct. iruler.net


#32

Hey, where’s the millimeters!


#33

Sorry. I’m not metric.


#34

Umm…


#35

Uh, didn’t get the same result as last time. Look:

149mm divided by 768p = 0.19401

(sorry, forgot to hit the reply to post button @DECODECO)


#36

Me either in my project.


#37

I just don’t get it. Is there even a measurement for the pixels?


#38

0.19141 is about equal to 0.19401. They are very close! So you should round your pixel measurements to about 0.19mm per pixel.
Your measurements are correct.


#39

Not that I know of. They’re just a measurement on their own. Pixels.


#40

Ah, ok. Still, there doesn’t seem to be an exactly measurement.