Giter Club home page Giter Club logo

Comments (5)

commanderguy3001 avatar commanderguy3001 commented on August 26, 2024 1

you don't have to fork the code to figure out how to change it. overall, it should be easy to change:
./crates/core/src/plot/mod.rs, line 43
that is the size of the plot in chunks in powers of two, e.g. if you want 512x512 blocks, that is 32x32 chunks, e.g. set that line to 5.

from mchprs.

AL1L avatar AL1L commented on August 26, 2024 1

If you dont/cant do what @commanderguy3001 suggested, could also try to take better advantage of vertical space.

from mchprs.

sSolsta avatar sSolsta commented on August 26, 2024

forgot to comment earlier, i was able to get it to work with 512x512 plots. thanks for pointing that out to me. can i just ask is there a particular reason it only does powers of two?

from mchprs.

commanderguy3001 avatar commanderguy3001 commented on August 26, 2024

nice.
I don't know exactly why it's gotta be powers of two for the chunks, but I'll bet "technical reasons in terms of memory management/something like that"

from mchprs.

StackDoubleFlow avatar StackDoubleFlow commented on August 26, 2024

It's too make sure converting block to plot coordinates is as simple as a bit shift or finding the offset of a block in a plot is as simple as bit masking.

from mchprs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.