Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-02-2015, 12:34 PM
|
#1
|
LQ Newbie
Registered: Jun 2015
Posts: 3
Rep: 
|
terminal drawing geometry application?
Hi there,
I would like to know if a software exists that can do the following from an terminal:
- creating simple images with basic geometry in it
- drawing lines,circles,rectangles,triangles
- create an 250x250p image with an 80p radius circle centered in it
and draw a text at 200x200p
For example something like this image:
|
|
|
07-02-2015, 02:53 PM
|
#2
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,777
Rep: 
|
I don't think there is anything like that for running in a terminal.
Debian has the largest repos so try looking through them for anything that may be of interest.
https://www.debian.org/distrib/packages
|
|
|
07-02-2015, 07:39 PM
|
#3
|
Senior Member
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,207
|
Take a look at imagemagick most diatro have it, it has alot of graphics primitives and is to the command line what gimp is to the desktop, all output can be sent to file in various formats, ping, jpg etc
|
|
|
07-02-2015, 08:18 PM
|
#4
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,674
|
have a look at " G'Mic "( GREYC's Magic for Image Computing )
a command line tool for images ( mostly has REPLACED ImageMagick for me )
it is in some repos on some distros
or
http://gmic.eu/
it also has a Gimp plugin
and is included in Krita
for example this bit of code
Code:
gmic 1000,1,1,2 -f "X=3*(x-500)/500;X^2*sin(3*X^2)+if(c==0,u(0,-1),cos(X*10))" -plot
type into a terminal will produce this
http://imgbox.com/PHn9qa1K
Code:
gmic -m3d 5 -md3d 5 -db3d 0 -isosurface3d "'x^2+y^2+abs(z)^abs(4*cos(x*y*z*3))'",3
this will produce this
http://imgbox.com/3DGK0kf6
Last edited by John VV; 10-03-2015 at 07:16 PM.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 04:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|