cowboyd / asciimo.rb Goto Github PK
View Code? Open in Web Editor NEWcreate awesome ascii art with ruby + asciimo.js
Home Page: http://github.com/cowboyd/asciimo.rb
create awesome ascii art with ruby + asciimo.js
Home Page: http://github.com/cowboyd/asciimo.rb
Hi, this code does not work:
require 'asciimo'
This works, but then:
Asciimo.text("Star_Wars.flf", "Str Wrz", "yellow")
Error I get is:
V8::Error: No such file or directory @ rb_sysopen - /Programs/Ruby/2.2.2/lib/ruby/gems/2.2.0/gems/asciimo-0.2.0/ext/asciimo/./fonts/Star_Wars.flf.flf
I am not sure but it seem that no such font exists; the filename is starwars.flfs
I suggest changing that in the examples. Also, perhaps the last '.flf' should become optional, and append only one more .flf if not:
unless string.end_with? 'flf'
check
Thanks!
Tested using Ruby 3.0.0 on Ubuntu:
$ asciimo -m "Hi there"
/home/dan/.rvm/gems/ruby-3.0.0/gems/therubyracer-0.12.3/lib/v8/object.rb:55: warning: respond_to? is defined here
[object global]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.