Giter Club home page Giter Club logo

Comments (2)

khonkhortisan avatar khonkhortisan commented on August 28, 2024

/help /spiral
  //spiral : Add spiral at WorldEdit position 1 with width , height , space between walls , composed of

The spiral makes square turns counterclockwise on the Y plane, starting going South, ending going either North or South.
The corner of the spiral is placed one wall away from P1. To expand it would require deleting it first, because of it not being centered.
<width> is the diameter measured in walls (in the direction perpendicular to the direction the ends are moving).
The height of the walls is h = <height> + 1; h = (h >= 2 and h or 2)
The space between walls is <space> - 2. So if you wanted two nodes of space between walls, you would use 4. <space> measures the distance between the outside sides of the walls.
The very center of the spiral goes one more node than the space between the walls. Instead of being 1x1, 2x2, or 3x3, it would be 2x1, 3x2, or 4x3.
The outside end stops <space> nodes before being in the same line as the perpendicular wall.

It would be better to rewrite this than to modify it.

from minetest-worldedit.

Uberi avatar Uberi commented on August 28, 2024

WorldEdit's spiral functionality has been completely rewritten a while ago back in version 1.0, or somewhere around that time. As a result, this is now done!

from minetest-worldedit.

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.