As you possibly know, I have mental problems. In particular, some my emotions were gone. I must observe other people a lot to copy their behavior and integrate myself into society. I did it for years and I got a system of human behavior in my head. I thought it’s time to make a book about it and the book has been printed. It’s called “The pyramid of adaptation” (“Пирамида адаптации” in Russian). The PDF version of the first edition in Russian will be distributed for free for non-commercial purposes and you can download it here.
Good news! My collections of pieces for children and for music school students and my flamenco guitar method are available as PDF files now. Feel free to download them and play this music (for non-commercial purposes).
I see a lot of frontend developers which are tempted to create monstrous solutions, even if they don’t need to. I’m not sure, if it happens because a lot of people don’t know basic CSS or they think it’s cool to do everything with WebGL, but it happens too often to be a coincidence. Todays demo is pretty simple, but it can show you how to split an image between multiple divs with pure CSS.
Three years ago I switched to front-end development and started learning HTML and CSS. Up to this day I shared interesting examples on CodePen. Not every day, of course, but often. Several days ago their number reached 300. Looking back, I can say that it was a good time. Painting with CSS, canvas animations and WebGL shaders, SVG hacks… There are no impossible design ideas for me now. I can create everything, it’s only a matter of time. I think it’s a good idea to celebrate this anniversary. Feel free to use my pens - all of them are distributed under the MIT license.
I didn’t participate in challenges for programmers for a long time, but yesterday I decided to take part in the current weekly #codepenchallenge. It’s called “B and W and A”. What is the best thing to do with the letter “A”? Of course, construct snowflakes. So, I did it. This pen reminded me of those times when I created things just for fun. It’s easy for me to write examples like this snowfall nowadays, but there were times when I thought that this is kind of magical. Anyway, this animation is nice. Check out it on CodePen!
Looking for a step-to-step tutorial without mathematics?
Check out my article about WebGL shaders with examples adapted especially for UI developers (in Russian)!
Texture projection is the one of the most powerful tricks in WebGL. It can be used in different situations. I don’t know why I still haven’t published any pens with it. But today I corrected this mistake. Here are two demos - the first one is for the ordinary texture projection and the second one for the “sticky” projection.
A couple of days ago I received the email with the rules for the #codepenchallenge. I started writing the demo for it, but it was getting bigger and bigger. So I pushed it to GitHub repo instead. This is a WebGL globe with points for all earthquakes with magnitude more than 5 which happened last year. The live demo is here. This is an alpha version, so I recommend to use Google Chrome.