Code Monkey home page Code Monkey logo

Comments (13)

Keridos avatar Keridos commented on August 27, 2024

Yeah, that was one of the issues I opened and closed a few months ago due to me thinking it was my eye trolling me.
I will take a look at the circle building code but I am not sure if I get a good idea of how to optimize prubys code.

from shape-builder.

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

Me neither, it works really well, and I can't figure out where it's going "wrong"

from shape-builder.

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

I finally have computercraft again do I will try one thing I thought of.

from shape-builder.

Keridos avatar Keridos commented on August 27, 2024

got this: http://pastebin.com/JH3ATidy from marvintpa in the CC forums, how shall we implement it?, replace prubys code?

from shape-builder.

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

I don't have time to test it. How does it handle speedwise and shape wise to pruby's code?

from shape-builder.

Keridos avatar Keridos commented on August 27, 2024

Gonna run a few test builds tomorrow... will post the results here.

from shape-builder.

Keridos avatar Keridos commented on August 27, 2024

Hm, gonna upload a few screenshots here. Left is the older code, right sphere the new one. the smaller circles look way better than prubys code and imo even the bigger ones look a bit less than octagons.
2014-03-24_19 53 07
2014-03-24_19 53 13
The spheres actually have the same diameter: 25 blocks, but since the sides are not as flat the new code's spheres looks smaller

from shape-builder.

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

That is a ton of waypoints, wow. How did they compare speed-wise? I'm going to guess that it was faster. It looks like they also used less material too.

from shape-builder.

Keridos avatar Keridos commented on August 27, 2024

Did not check the speed on them, I think he pretty much modified the whole code to work like the rest of our program does, A quick peek into it made it look like it is building pretty much like the old code was, so it should be comparable in speed. He did a good job in incorporating the methods into our program. Should be resumable and support all other features of the versatile shape builder.

from shape-builder.

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

I think that we should implement it then!

from shape-builder.

Keridos avatar Keridos commented on August 27, 2024

implemented it, just one last bug to fix, it builds it one row too high

/edit: that is fixed. Now another bug, please look into it, i was not able to fix it o.O: the spheres and circles are built one block too far in the x and y direction, basically shifted.

from shape-builder.

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

weird, I'll look into it.

from shape-builder.

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

Marking as closed since we've implemented code that fixes this. This issue can still be a journal / discussion if we need it.

from shape-builder.

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.