Ivan Bogachev



The evolutionary theory of behavior

2025 / 03 / 14
The evolutionary theory of behavior

In the fields of psychiatry, psychology, we have a lot of problems right now. The causes of the diseases are not really determined. The symptoms are vague and hard to differentiate. The treatments often look like an alchemy. Maybe it will work. Maybe not. Who knows. Maybe another will work. Or not. The psychological theories allow some very loose interpretations, where the chemical processes behind the processes in the psyche should be very precise. In the world of neurochemistry, we have a lot of scattered pieces of information, but they do not explain how all these things work together. We definitely need some fresh eyes. So I started the new project, that is supposed to bring the new approaches, the new ways to interpret the collected information in the world of psychaitry. I use the ideas from the completely different fields, from the ancient philosophy to the modern computer science and engineering, to shake things a bit. The first part of the project was published as a small book, The evolutionary theory of behavior. This is a theory that connects the parts of the psyche, the basic impulses, the observable patterns of behavior, the diseases and the effects in the social groups, attaching everything to the one purely mechanical model. The second part of the project is the search for this model, or the similar one, in the field of neurochemistry. Instead of trying to explain every little fact on its own, I look for the similar graph of connections between things. My main hypothesis is that if we can connect things from the outside, the similar graph of connections should be somewhere on the inside. If we find it, it will show us the exact places where the diseases begin. This is a long shot. I know. But it is worth trying.

Radar Chart

2024 / 08 / 30
Radar Chart

Yet another demo. This time it's a radar chart with a custom fill gradient. There is nothing special here, it's just some old-school pixel manipulations on 2D canvas, but the example itself can be used by my students at some point. It'll wait for them here.

The Pen by Ivan Bogachev (@sfi0zy).

Canvas and borders

2024 / 06 / 01
Canvas and borders

Some time has passed since the CSS Painting API was born, but it's still not supported by all major browsers. Meanwhile, we can use the standard canvas to do everything. Actually we were able to do that for many years, but for some reason I didn't post any good examples of that trick. Now it's here.

The Pen by Ivan Bogachev (@sfi0zy).

Waves

2023 / 08 / 18
Waves

Yet another WebGL example is here! Three planes + some noise = beautiful waves for the background effects.

The Pen by Ivan Bogachev (@sfi0zy).

Night Drive

2023 / 07 / 03
Night Drive

Ok. It's time to refresh my CodePen profile a bit. In the last years I published mostly educational examples for my students, but it feels like they can't really work as an example of my own skills. A lot of people can do the same tricks nowadays. They looked cool five years ago, but not anymore. I needed something that will look impressive enough, so I created a new demo, "Night Drive". It'll show what I can do with Three.js in one day.

The Pen by Ivan Bogachev (@sfi0zy).

Street Monochrome

2023 / 06 / 14
Street Monochrome

It's been a while, isn't it? I haven't posted anything for a few months now. I'm working on a new photography-related project. It's a lot of work. Meanwhile, I decided to share the darktable styles that I use for the street photography. Why not? My main style is the Street Monochrome. This is a high contrast black and white style, it works well in almost every situation that I encounter on the street, and now it's available as a .dtstyle file and as a LUT.

Medium

2023 / 02 / 19
Medium

For a long time, I was thinking about a tool that will provide a set of CSS custom properties with the mouse position, scroll position, random values etc. And since I didn't find anything that I would like, I decided to write the tool myself. I called it "Medium" because it connects CSS and JS worlds. The library itself is quite simple, but I used it for a few demos on CodePen and it really speeds things up. Now it's available on GitHub and as NPM package.

Animated CSS backgrounds

2023 / 02 / 19
Animated CSS backgrounds

I continue my experiments with Medium, and I got a few animated backgrounds. Check them out!

The Pen by Ivan Bogachev (@sfi0zy).

The Pen by Ivan Bogachev (@sfi0zy).

The Pen by Ivan Bogachev (@sfi0zy).

100000 lines

2022 / 11 / 28
100000 lines

Just published a new animated gallery on CodePen. As always, the ingredients are quite simple: two canvases, old trusty line-drawing algorithm and some junior-level image data calculations. But the result looks interesting:

The Pen by Ivan Bogachev (@sfi0zy).

It's not for mobile devices, obviously. This amount of draw calls is kind of too much for them. It works fine on my smartphone, but I think it'll be a bad practice to run such thing for mobile devices in production.

And here is another demo:

The Pen by Ivan Bogachev (@sfi0zy).

It was the first step in the development of that gallery. It's more simple, with only one canvas, but it may work as a base for future experiments.

Animated tag cloud

2022 / 11 / 24
Animated tag cloud

Fibonacci sphere + rotation matrix + some CSS magic = tags cloud. You don't need tons of scripts to create things like that.

The Pen by Ivan Bogachev (@sfi0zy).

Maze

2022 / 11 / 23
Maze

Yet another Three.js example! This time it's a simple maze with one light and shadows. It's easy to do, and it looks not bad at all.

The Pen by Ivan Bogachev (@sfi0zy).