This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
HPWebcamAble's profile picture

WHY are the dimensions of monitors prime?

Started by HPWebcamAble, 20 February 2015 - 05:54 PM
HPWebcamAble #1
Posted 20 February 2015 - 06:54 PM
Every screen in CC has prime dimensions. It makes it kind of annoying to evenly space things.
(1 exception; The Pocket Computer has an even width, 26 pixels. Height is still prime, at 19 pixels
The height is even too, the wiki was wrong)

Is there some practical reason that I'm unaware of?


EDIT: Ah yes the suggestion, almost forgot. Pretty simple, make them not prime.
Edited on 24 February 2015 - 12:21 AM
Lyqyd #2
Posted 20 February 2015 - 07:37 PM
The width of the computer screens is 51, which is not a prime number either. And the pocket computer's height is 20, not 19.
HPWebcamAble #3
Posted 20 February 2015 - 08:09 PM
The width of the computer screens is 51, which is not a prime number either. And the pocket computer's height is 20, not 19.

Wow 51 ISN't prime. 3*17 = 51, silly me. Still, a lot of the others are. Is there a reason?

And the pocket computer:
Computer Craft Wiki said:
Pocket Computers have a resolution of 26 pixels/characters horizontally by 19 pixels/characters vertically.
That can be found here:
http://computercraft...Pocket_Computer

I believe you, since you are pretty trustworthy, but I don't have time to check in-game

Just checked, you are correct.
[attachment=2117:2015-02-20_12.16.02.png]
The wiki is wrong in several places, it says its 26 by 19.
Edited on 20 February 2015 - 07:17 PM
MKlegoman357 #4
Posted 20 February 2015 - 09:16 PM
The wiki is wrong in several places, it says its 26 by 19.

Fixed that. If I've missed a page just edit it or post about it. Someone was probably running multishell when he/she was getting the screen size.
dan200 #5
Posted 23 February 2015 - 03:51 PM
It's not on purpose. The size of computer and turtle screens were chosen to make the most of a default-sized minecraft window. The size of pocket computer was chosen because I wanted a portrait aspect ratio. The size of monitors is calculated based on the size of the monitor in blocks, and a default text size I thought looked nice.
LDDestroier #6
Posted 23 February 2015 - 10:52 PM
It's not on purpose. The size of computer and turtle screens were chosen to make the most of a default-sized minecraft window. The size of pocket computer was chosen because I wanted a portrait aspect ratio. The size of monitors is calculated based on the size of the monitor in blocks, and a default text size I thought looked nice.

Isn't there a config setting that allows you to have different screen sizes? I could've sworn there used to be…
Bomb Bloke #7
Posted 23 February 2015 - 11:11 PM
Prior to CC 1.6, indeed there was.