How do you make idea storming? I've tried to take a fixed time every day to squeeze my brain, but it isn't particularly effective. Many ideas just come as I'm in the bed or in the bathroom. What is the correct way to do brainstorming?
How do you get the screen dimmensions in Android? You could say that this code would work: DisplayMetrics displayMetrics = new DisplayMetrics (); getWindowManager().getDefaultDisplay().getMetrics(displayMetrics); int height = displayMetrics.heightPixels; int width = displayMetrics.widthPixels; Well, no. Not quite. The returned height is not always the screen height because it includes things like the height Android buttons take and etc. You have to resort to tricks like creating a View that takes all the screen and reading its height instead. Simple, isn't it? No it isn't. You can't read a View dimmensions just like that, because the View isn't actually drawn until much later than you do the SetContentView . You have do to asycronous things like: final View view= //smth; ... view.post( new Runnable () { @Override public void run () { view.getHeight(); //height is ready } });
Many years ago, in the university, I did an HTML project and it was hell, but this time, the HTML part of my project went pretty smooth. HTML has gotten easier with age. A couple divs and a few margins / aligns were enough. Actually, I kind of had fun while doing the HTML, which was the point of the project.
I lauched my first project. It's a javascript based stop-motion animator called Ledcraft. It simulates a led matrix to create colorful drawings and animations frame by frame. You can take a look to it in https://theprogrammersreturn.com . I'd love to hear about your experiences with it.
Do people read blogs anymore? Mine for sure isn't. I've tried optimizing the blog for Google, but even searching with the name of the blog gives no related results. Any idea why?
Yes, I know, GIMP, Corel Draw... no. There aren't any real ones. I'm looking for some graphics for my little stop-motion animator project. I look specially in sites like DeviantArt. You're forced to work with PS because that's what artists work with. That's pretty much the same case with Windows OS. You are forced to work with it because everybody works with it... Right? But wait. I tried https://www.photopea.com/ . It can work with PSDs and does the job for all I want it for.