Code Monkey home page Code Monkey logo

tsukiyo's People

Contributors

eyqs avatar

Stargazers

 avatar

Watchers

 avatar  avatar

tsukiyo's Issues

Bad view algorithm

Despite spending so much effort with bd9341f, the view algorithm still doesn't work when rotating things in 4D. At least everything works in 3D...

Ideas:

  • come up with a new algorithm
  • steal an old algorithm from somewhere
  • keep the old algorithm and double check my calculations, again
  • keep the old algorithm and use some symbolic linear algebra thing to solve it

Bad rotation algorithm

The rotation algorithm doesn't work when viewing things in 4D. Especially worrying is how rotating stuff the opposite way doesn't actually unrotate it when points start to fall apart. At least everything works in 3D...

Ideas:

  • come up with a new algorithm
  • steal an old algorithm from somewhere
  • use like, actual matrix rotations or quaternions or whatever
  • keep the old algorithm because it's easier to extend to higher dimensions? is it?

Reorganize scales and colours

There's lots of repeated code for creating and setting scales, so it'd be nice to create one function just to create scales with labels. Perhaps make classes (IntScale, FloatScale) to control ttk.Scale's resolution (which it didn't copy from tk.Scale), rather than using _valid and set_view and set_light and change('s') and ugh.

The code to set #RGB colours should probably be collected into one place, and extended to #RRGGBB colours since the scales go up to 255 anyway. Putting a box to preview the colours created by three RGB scales would help with actually knowing what colour it is. Oh and finally, having the colour menus actually remember what the current set colour is, or even adjusting menu colours in real time―that would be nice. All of this would be nice.

Too bad we don't have any of them.

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.