Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/turborium/pocketgalaxy

PocketGalaxy effect
https://github.com/turborium/pocketgalaxy

delphi gdd graphics graphics-programming image-effect image-processing object-pascal pascal

Last synced: about 1 month ago
JSON representation

PocketGalaxy effect

Awesome Lists containing this project

README

        

# PocketGalaxy
**PocketGalaxy animated pixel effect**

[Powered By Lazarus (ObjectPascal)](https://www.lazarus-ide.org/)

---
Precompiled exe: https://github.com/turborium/PocketGalaxy/raw/main/PocketGalaxy.exe

![scr](scr.png)

Maked by Lazarus(ObjectPascal) with love.
Also, see JavaScript version: https://github.com/turborium/PocketGalaxyJs and run online.

---
Inspired by article [Complex beauty in a simple formula](https://habr.com/ru/articles/817869/) and comment by [kipar](https://habr.com/ru/articles/817869/#comment_26881773) with code:
```pascal
RandSeed := 1;
for i := 1 to 100 do
begin
x := random;
y := random;
color := Random(MaxLongint);
for j := 1 to 1000 do
begin
pr2d_Pixel(x*1000,y*1000,color);
x := Frac(x+cos(y));
y := Frac(y+sin(x));
end;
end;
```