Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of the window #8

Open
Seuguhfr opened this issue Aug 28, 2022 · 9 comments
Open

Out of the window #8

Seuguhfr opened this issue Aug 28, 2022 · 9 comments

Comments

@Seuguhfr
Copy link

Hello,
When I run particle_life.exe, the simulation is out of the window. I only see a quarter of the simulation, as if the app thinks my screen is bigger than it really is. How I can fix it ?
Thank you in advance,
Jules

@hunar4321
Copy link
Owner

hunar4321 commented Aug 29, 2022

You need to have a FULL HD monitor (1920 x 1028). We might add resize ability at some moment.

@Bellisario
Copy link

Same problem for me, I have an HD monitor (768x1366, Intel HD Graphics) but window goes out of bounds...

@AnasQiblawi
Copy link
Contributor

same issue

image

@Vaibhav9535
Copy link

Lol see this when I tried to run it on my android mobile .....
Screenshot_20220830-192006_Dcoder

@AnasQiblawi
Copy link
Contributor

@Vaibhav9535
Lol see this when I tried to run it on my android mobile .....

try download directly from the repository
its already fixed and can work on all screens
https://raw.githubusercontent.com/hunar4321/life_code/main/particle_life.html

image

@LuizMosciaro
Copy link

LuizMosciaro commented Sep 1, 2022

Is is ask too much for a 1366x766 or configurable screen settings executable?
I would really like to send this to other friends and spread your work around for non programmers.

Edit:

They've added a python file for those who might know better manipulate in this language.

@hunar4321
Copy link
Owner

Is is ask too much for a 1366x766 or configurable screen settings executable? I would really like to send this to other friends and spread your work around for non programmers.

The problem is not just the screen size, I have hard coded many numbers to visualize the model, GUI controls. Changing the screen size would require changing all these numbers too. Hard coding numbers is a very bad programming habit but I didn't expect this program to get this traction to care about my coding style 🤦‍♂️
Anyway, I'll try to fix these issues and also hope people with openFramework background could step in and contribute.
Best

@hunar4321
Copy link
Owner

I have now made the screen size for the C++ version to be 1600 x 900 so it is a bit friendlier for those who don't have Full+HD monitors

@ker2x
Copy link
Contributor

ker2x commented Oct 11, 2022

the pull request I made will make the cpp version of the code dynamically resizable. it's actually a very simple 2 lines patch: aed94d1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants