[ / / / / / / / / / / / / / ] [ dir / canada / htg / kemono / m / maka / s / sonyeon / tijuana ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): e90cb47789a5042⋯.jpg (95.26 KB, 700x490, 10:7, spirograph-vector-shapes.jpg) (h) (u)

[–]

 No.797407>>797505 [Watch Thread][Show All Posts]

I need some recomendations.

I want to make pictures using code.

I can already draw and paint even if I'm mediocre, but I'm willing to learn some coding language to produce interesting pictures.

I would love to make pretty pictures using geometry and other stuff, but I'm clueless over what topics do I need to study, I'm sure is a lot of math.

pic related.

 No.797415>>797423 >>797531 >>801739

File (hide): 1ead47375184231⋯.png (329.17 KB, 1280x800, 8:5, Processing-Screenshot.png) (h) (u)


 No.797421>>797423 >>801904

There is the Cairo library:

https://www.cairographics.org/

It has bindings for a number of languages, so you could use for example the Python REPL to scribble something.


 No.797423>>797431 >>797592

>>797415

>>797421

What kind of math do I need to study?


 No.797431>>797434 >>797435

>>797423

Depends what you want to do. Processing has some examples for things like sin/etc in https://processing.org/examples/

If you do things from scratch though (i.e. without a library that knows how to draw) you'll need linear algebra and maybe quaternions.

You'll probably be interested in fractals like the pic. Things like trees full of leaves are pretty easy and fun to create, I'd start there.


 No.797434>>797449

File (hide): 1cb36816cfbedef⋯.png (544.45 KB, 1200x800, 3:2, 698.png) (h) (u)


 No.797435>>797440 >>797449

>>797431

people have been telling me I don't need advanced math to draw pretty pictures.

basically algebra I II, trigonometry and linear algebra.

do I need calculus I as well?


 No.797440>>797448 >>797592

File (hide): 5e5f40e39f1aaa1⋯.jpg (52.09 KB, 640x480, 4:3, FRACTAL-3d-FLOWER.jpg) (h) (u)

File (hide): b4307137698de86⋯.png (161.01 KB, 575x449, 575:449, Saddle_point.svg.png) (h) (u)

>>797435

Advanced math, no. Basic, yes. Take the first pic. All you need to know is how to draw a few sticks with the right size and position.

The caveat is you need to know how to describe the shape you want. So if you want something like the second pic calculus will help.


 No.797446

Racket has a picture library that's supposed to be used to teach people how to code, but works for making neat pictures. If you just want to fiddle with shapes and stick them together it works just fine.

https://docs.racket-lang.org/teachpack/2htdpimage.html


 No.797448


 No.797449>>797450

File (hide): 5f964586d30902e⋯.png (4.82 MB, 7680x2159, 7680:2159, BurningShip1.png) (h) (u)

>>797435

Depends on what you want to do. The process that generates >>797434 is extremely simple: z_(n+1) = (z_n)^2 + z_0, repeated until either |z|>2 or some maximum iteration limit is reached, and coloured based on the number of iterations it took. It's on the complex plane so you should be familiar with that, but you wouldn't even need a very thorough understanding.

Pic related is a similarly simple variation on that process.


 No.797450>>797530

>>797449

Are there any place to learn about this topic?

I'm completelly clueles and I'm looking for ways to make new art.


 No.797486

p5.js is a clone of processing and works pretty well. sure, javascript sucks but if you might as well use a real language instead of processing which has zero applications outside of drawing to the screen.


 No.797505

>>797407 (OP)

if you want to do it with 3d mode, there's Structure Synth.


 No.797530

>>797450

The math courses at Khan Academy are nice for absolute beginners.

https://www.khanacademy.org/


 No.797531>>797562 >>801747

GLSL and as much math as you can learn. The more math you know the more advanced techniques you can make. Software rasterization just isn't worth the effort anymore.

>>797415

Processing is for pahjeet tier "coders"


 No.797562

>>797531

>Processing is for pahjeet tier "coders"

Which is the whole point because OP never gave any indication of ever programming before you stupid nigger. Besides, it's way more fun to use a library or language that's actually made for creative coding because you're not writing 500 lines of openGL boilerplate sepples garbage


 No.797592

>>797423

As others have said, it depends on what you want to do. If you just want to make simple shapes, then linear algebra (vectors, matrices and stuff) should be all you need. If you want to do curves you should learn about splines. If you want to do something like the second picture in >>797440 you will need calculus. If you want to do graph visualization you will need to learn graph theory.

The best advice I can give you is to get started with simple shapes first and then when you find something more complicated investigate the underlying math and learn it. Don't try to learn all the math there is because you "might have some use for it some day eventually" (unless you are a mathematician of course, but if you were you wouldn't be asking such a question).


 No.801718>>801736 >>801745

File (hide): 922b015978e4204⋯.mp4 (7.53 MB, 640x480, 4:3, VID_20170926_214347.mp4) (h) (u) [play once] [loop]

7.14 Mhz M68000 1mb ram


 No.801736>>801741 >>801743

>>801718

>those flashes


 No.801739>>801861

>>797415

What DE is that, my fellow black man?


 No.801741

>>801736

Well it's a tv recorded with my phone. I just uploaded it cuz I had it on me. I'll post a webm later. It's 50 fps (pal amiga) and the flashing parts are much faster.


 No.801743

>>801736

And I'll add that this demo is remarkable not because of these effects, Amiga can do much better, but because it is 27 minutes of continuous music and some light effects on 2 880kb floppy disks.


 No.801745

>>801718

>All those shitty logos

terrible demo


 No.801747

>>797531

>Software rasterization just isn't worth the effort anymore.

But it's fun.


 No.801861

>>801739

XFCE, can't you see the mouse on the top left corner ?


 No.801881

Logo. I used to draw with it in first grade on an Apple //e. Shit was fun.


 No.801904

File (hide): 95fa70ac305232e⋯.png (183.1 KB, 1200x400, 3:1, 1.png) (h) (u)

>>797421

Gnuplot is a powerful program for visualizing data. You can use math functions or plot data into 2d or 3d graphs. It uses Cairo.




[Return][Go to top][Catalog][Screencap][Nerve Center][Update] ( Scroll to new posts) ( Auto) 5
27 replies | 7 images | Page ???
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / canada / htg / kemono / m / maka / s / sonyeon / tijuana ][ watchlist ]