Giter Site home page Giter Site logo

bad_apple_rplace.jl's Introduction


Downloading data

Data source: https://placedata.reddit.com/data/canvas-history/2023/index.html

But I have cleaned up it into Apache Arrow format for sanity. Download here and put it at the repo's root directory.

Btw, you can always copy code blocks including julia>, the Julia REPL is smart enough to ignore them when pasting.

After downloading, the folder structure should look like this:

> ls
main.jl  Manifest.toml  place_color_zstd.feather  Project.toml  README.md

Setting up Julia

Download Julia, juliaup is recommended (here).

Navigate (e.g. cd) to this repo's root directory. And run:

julia --project=.

julia>

For first time only, you need to instantiate the dependencies, hit ] once to enter pkg> mode:

(Bad_Apple_rPlace) pkg>

enter instantiate and hit enter:

(Bad_Apple_rPlace) pkg> instantiate

Afterwards you can hit backspace to return to REPL mode.

Running

You should now be able to run the following:

julia> include("./main.jl");

julia> main(; test_run=true)
Progress:  97%|███████████████████████████████████████████████████████████▎ |  ETA: 0:00:00
Done!

You should see a bad_apple.mp4, if you set test_run=false, it should take about 10 minutes to render the full movie.

bad_apple_rplace.jl's People

Contributors

moelf avatar

Watchers

 avatar  avatar

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.