Git Product home page Git Product logo

terrain-gen's Issues

Create UI system

I really don't want to use an external framework /just/ for this, so I'll have to create a decent UI system.

That may require some basic screen-space physics or collision testing for now, but we'll see!

Improve README

The main image is from early in development. It looks way nicer now! This should totally reflect that.

A gif displaying the water sim might be nice too!

Instructions that are current might also look good.

Create a kernel-based sampling system

Since we're working with pixels, mostly, it has been fine so far to just use a pixel grid for everything - color, height, water level...

But if we are to move towards more advanced rendering or simulation techniques, we need to have a consistent way to index into the data (instead of just copy-pasting bilinear interpolation everywhere). Drawing inspiration from CMSC 23710 @ UChicago, I can create a system that uses preset kernels to index into the data and generate estimates of data values at non-integer coordinates.

Bad Code

There's unregulated TODOs everywhere, and variable naming etc. isn't super great...
Should the TrGame instructor have all the SDL init code /within/ it, or should the SDL init code be separate?

Good (or at least consistent) code style is vital for the efficient continuation of any software development project, so let's fix it.

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.