christopher-dabrowski / gra-w-zycie Goto Github PK
View Code? Open in Web Editor NEWProjekt na laboratoria z JIMP2
Projekt na laboratoria z JIMP2
Aktualnie generowane grafiki są takiego rozmiaru jak plansza. Jeśli plansza jest mała np. 5x5 to powstała grafika jest prawie niewidoczna przy standardowym otwarciu pliku.
Można by sprawdzić czy plansza nie jest zbyt mała i przeskalować do jakiejś rozsądnej wielkości.
Ten wzór może się przydać: dest[dx,dy] = src[dx*src_width/dest_width,dy*src_height/dest_height]
.
Powiązanie pytanie na stacku.
W nazwie plików wynikowych typu gif (może w innych też) występuje jakiś dziwny znak. Jest to problem, bo na przykład Google Chrome nie chce otworzyć takiego pliku.
Parser mógłby podpowiadać, że jego zdaniem linia jest zbyt krótka lub, że w pliku jest za mało linii.
Możliwe, że po zmianie disposeBoard
po jej użyciu w testach wykonywane jest nadmiarowe free() ❗️
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.