• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Emiel45/Boxel: A near real-time pixelator and "codec" for Minecraft. ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Emiel45/Boxel

开源软件地址(OpenSource Url):

https://github.com/Emiel45/Boxel

开源编程语言(OpenSource Language):

Python 100.0%

开源软件介绍(OpenSource Introduction):

Boxel

Boxel is a near real-time pixelator and Minecraft codec.

Usage

Boxel pixelates and reduces the color pallete of images, websites and video at up to 24fps.

You can use it to make funky pixelated artwork from existing assets to display wherever you like. By default, Boxel creates a stream of PNG images along with JSON messages that describe the image.

Boxel was built to act as a codec for Minecraft. You can use the data it creates to build boxelized images, websites and video from blocks on a Minecraft server.

We've created a client library that makes it easy to connect Bukkit compatible Minecraft plugins to a Boxel server. Check it out here

Getting Started

Dependencies

Boxel depends on PhantomJS for rendering websites. Installing on OSX with Homebrew is simple:

brew install phantomjs

Boxel expects to connect to Phantom remotely, so you should start it as below:

/usr/local/bin/phantomjs --webdriver=8910

We recommend using this Docker image to install and run your Phantom instance: wernight/phantomjs

Boxel requires Redis to send video data over PUB/SUB channels. Redis can be installed via your package manager of choice:

# homebrew again
brew install redis

# or apt-get
sudo apt-get install redis-server

Finally, Boxel requires a WAMP router for service discovery. We use crossbar. Crossbar can be installed via pip:

pip install crossbar

Installation

After you've installed these dependencies, install boxel like any other Python package:

# using pip
pip install -e https://github.com/VerizonCraft/Boxel.git#egg=boxel

Run it!

Assuming you've got Redis, Phantom and a Crossbar router running you should be able to start the Boxel service like so:

# substitute the correct host/port for your redis server and crossbar router
boxel -W 50 -C palettes/5bit.yml video -R redis://localhost:6379/0 -U ws://localhost:8080/ws

Demo app

The best place to start with Boxel is probably the demo app.

It provides docker containers for PhantomJS, Crossbar, Boxel, Redis, and an example web front-end that will get you a Boxel service with just a few commands.

See Boxel-client for examples of video and website rendering in Minecraft.

Contribute

If you'd like to contribute, check out the contributing guidelines

License

This repository and its code are made available under a BSD 3-Clause license, which can be found here.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
TeamJM/journeymap: JourneyMap mod for Minecraft发布时间:2022-08-17
下一篇:
b1scoito/clicker: Advanced Minecraft auto-clicker made in C++发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap