Giter VIP home page Giter VIP logo

fractal-plan's Introduction

Fractal-plan

This repository shows some operations with plane geometry (for now) that induces to an animation with music.

DANGEER!

Everything you'll see here is a lot of mad stuff. Careful to not lose your sanity (if you still have).

crazy-graph

Dependency

You will need of:

To install pygame in linux debian-based you have two options:

  • Using apt:

    sudo apt-get install python3-pygame
  • Using pip:

    sudo pip install pygame

Usage

This a beautiful thing. Why you don't only execute this? Fuck the explanation. Just execute!

  • python fractal.py

Optionals:

  • python fractal.py --music-dir <your-music--directory-content>
  • python fractal.py --no-music

These are the fuckin' action keys:

Key Action
ESC Exit
+ Plus vertex
- Minus vertex
Left?
Up?
Right?!
Down?
ENTER Play/Stop Music
TAB Next music

Contributing

  1. Understand this code and your propose (I wouldn't know tell).
  2. Fork it!
  3. Create your feature branch: git checkout -b my-delicious-feature
  4. Commit your changes: git commit -am 'Add some delicious'
  5. Push to the branch: git push origin my-delicious-feature
  6. Submit a pull request :D (if I believe this is a reasonable PR, then I'll merge)

History

Self-destruction. What are you still doing here? Go away!

Roadmap

  • Find answer of the multiverse with hash #42 (weightless).
    • Implement a representation of fractal geometry with the set of complex numbers.
    • Encode a genetic algorithm with number theory and numerical analysis.
    • Try understand what the main fuckin' developer is doing.
  • Pull random musics of the user data.
  • Make some interactive graph (I made two).

Credits

  • Me (Manoel Vilela)

License

Creative Commons ShareALike

fractal-plan's People

Contributors

ryukinix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fractal-plan's Issues

fractal-plan accesses all files under $HOME during startup

So, there's this:

musics = tree_generator('%s' % expanduser("~/"))

Then this:

def tree_generator(path, files=[]):
    files_list = listdir(path)
    for f in files_list:
        new_file = join(path, f)
        if isdir(new_file):
            new_path = join(path, f)
            chdir(new_path)
            tree_generator(new_path, files)
            chdir('..')
        elif isfile(f):
            mime = guess_type(f)[0]
            if mime is not None and 'audio' in mime:
                files.append(new_file)
        if len(files) > 1000:
            break
    return files

I don't like 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.