Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Pixels

Idk what I'm doing, but maybe it will become a game

image

About

This is powered by pixels crate + winit and others, I'm planning integrating it with Bevy/Bevy ECS to see what's possible in terms of performance and efficiency.

image

How it works

I allocate a lot of 'particles' which have properties like position, velocity, color, life etc. then simple brown-like motion comes into place and voila... Everything is happening on cpu (now on one thread, in the future we will see how that could be improved) on decay effect I made use of rayon crate which speed up that part x3 times or even more.

image

640 by 360

This is 1920x1080 divided by 3, when fullscreen it makes perfect 3 by 3 pixels

Why the colors are so great

I don't know myself yet, somehow this algorithm yeilds perfect match autumn colors which wasn't what I expected tbh. Interesting task will be trying to recreate all 4 seasons.

About

some pixel cpu graphics experiments

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages