Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #3362 > unrolled thread
| Started by | Brian <briansipler@yahoo.com> |
|---|---|
| First post | 2013-05-21 09:19 -0700 |
| Last post | 2013-05-22 09:20 -0700 |
| Articles | 9 — 6 participants |
Back to article view | Back to comp.programming
Using Equations To Represent Graphics Brian <briansipler@yahoo.com> - 2013-05-21 09:19 -0700
Re: Using Equations To Represent Graphics James <jjpuzzles@wowway.com> - 2013-05-21 11:28 -0700
Re: Using Equations To Represent Graphics Brian <briansipler@yahoo.com> - 2013-05-21 12:22 -0700
Re: Using Equations To Represent Graphics James <jjpuzzles@wowway.com> - 2013-05-21 13:10 -0700
Re: Using Equations To Represent Graphics JJ <duh@nah.meh> - 2013-05-22 02:44 +0700
Re: Using Equations To Represent Graphics "Chris M. Thomasson" <no@spam.invalid> - 2013-05-21 13:48 -0700
Re: Using Equations To Represent Graphics "Charles Richmond" <numerist@aquaporin4.com> - 2013-05-21 19:01 -0500
Re: Using Equations To Represent Graphics Brian <briansipler@yahoo.com> - 2013-05-21 17:25 -0700
Re: Using Equations To Represent Graphics bob <bob@coolfone.comze.com> - 2013-05-22 09:20 -0700
| From | Brian <briansipler@yahoo.com> |
|---|---|
| Date | 2013-05-21 09:19 -0700 |
| Subject | Using Equations To Represent Graphics |
| Message-ID | <dd651185-6c10-4032-884a-0105618facc0@v14g2000yqm.googlegroups.com> |
Hi, I have one last question about programming: I read somewhere that programmers sometimes use mathematical equations to represent graphics, and that the programmers write code that transforms the equations into the graphics that they want. I didn't know this was possible. Is it possible to do this? Brian
[toc] | [next] | [standalone]
| From | James <jjpuzzles@wowway.com> |
|---|---|
| Date | 2013-05-21 11:28 -0700 |
| Message-ID | <9678bb06-e09e-460a-8a5d-a2fa161b311e@a8g2000yqp.googlegroups.com> |
| In reply to | #3362 |
On May 21, 12:19 pm, Brian <briansip...@yahoo.com> wrote: > I read somewhere that programmers sometimes use mathematical equations > to represent graphics, and that the programmers write code that > transforms the equations into the graphics that they want. I didn't > know this was possible. Is it possible to do this? Hi Brian, You mean like this webpage? http://www.onlinefunctiongrapher.com/ Or are you talking about art, or something else? James
[toc] | [prev] | [next] | [standalone]
| From | Brian <briansipler@yahoo.com> |
|---|---|
| Date | 2013-05-21 12:22 -0700 |
| Message-ID | <1fce1cb3-f776-4eb7-99c1-9e5c2267a2d9@e14g2000yqp.googlegroups.com> |
| In reply to | #3363 |
On May 21, 2:28 pm, James <jjpuzz...@wowway.com> wrote: > On May 21, 12:19 pm, Brian <briansip...@yahoo.com> wrote: > > > I read somewhere that programmers sometimes use mathematical equations > > to represent graphics, and that the programmers write code that > > transforms the equations into the graphics that they want. I didn't > > know this was possible. Is it possible to do this? > > Hi Brian, > > You mean like this webpage? > > http://www.onlinefunctiongrapher.com/ > > Or are you talking about art, or something else? > > James Hi James, I'm talking about using mathematical equations to represent graphical art. I heard it can be done, but that you have to write code that transforms the equations into graphical art. Is this possible? Brian
[toc] | [prev] | [next] | [standalone]
| From | James <jjpuzzles@wowway.com> |
|---|---|
| Date | 2013-05-21 13:10 -0700 |
| Message-ID | <42bf30b1-7669-4158-81b7-40b3ebc4ddb3@z8g2000yqd.googlegroups.com> |
| In reply to | #3364 |
On May 21, 3:22 pm, Brian <briansip...@yahoo.com> wrote: > > Hi James, I'm talking about using mathematical equations to represent > graphical art. I heard it can be done, but that you have to write > code that transforms the equations into graphical art. Is this > possible? Hi Brian, Some graphics are easily described by mathematics, such as fractals. I guess you could define any complex image to any resolution you wanted using piecewise functions. That's what any image display program does. James
[toc] | [prev] | [next] | [standalone]
| From | JJ <duh@nah.meh> |
|---|---|
| Date | 2013-05-22 02:44 +0700 |
| Message-ID | <jdmeywtlgauz.1duzvuv6jqoie.dlg@40tude.net> |
| In reply to | #3362 |
On Tue, 21 May 2013 09:19:21 -0700 (PDT), Brian wrote: > Hi, I have one last question about programming: > > I read somewhere that programmers sometimes use mathematical equations > to represent graphics, and that the programmers write code that > transforms the equations into the graphics that they want. I didn't > know this was possible. Is it possible to do this? Using Unicode characters from the Mathematical Operators subrange. Drawing each in different sizes and positions as required.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <no@spam.invalid> |
|---|---|
| Date | 2013-05-21 13:48 -0700 |
| Message-ID | <kngmjo$e0t$1@speranza.aioe.org> |
| In reply to | #3362 |
> "Brian" wrote in message > news:dd651185-6c10-4032-884a-0105618facc0@v14g2000yqm.googlegroups.com... > Hi, I have one last question about programming: > I read somewhere that programmers sometimes use mathematical equations > to represent graphics, and that the programmers write code that > transforms the equations into the graphics that they want. I didn't > know this was possible. Is it possible to do this? Perhaps IFS might be of interest to you: http://en.wikipedia.org/wiki/Iterated_function_system You can mold many shapes indeed! :^)
[toc] | [prev] | [next] | [standalone]
| From | "Charles Richmond" <numerist@aquaporin4.com> |
|---|---|
| Date | 2013-05-21 19:01 -0500 |
| Message-ID | <knh1lf$oo$1@dont-email.me> |
| In reply to | #3362 |
"Brian" <briansipler@yahoo.com> wrote in message news:dd651185-6c10-4032-884a-0105618facc0@v14g2000yqm.googlegroups.com... > Hi, I have one last question about programming: > > I read somewhere that programmers sometimes use mathematical equations > to represent graphics, and that the programmers write code that > transforms the equations into the graphics that they want. I didn't > know this was possible. Is it possible to do this? > Perhaps you are thinking about something like transformation matrices. As I understand it, each point considered three-dimensionally can be represented by a 3x3 matrix of values. So for a group of points, you have a group of matrices... one matrix for each point. Using the matrix of the point, the point can be projected on the plane of the computer screen. When some points are joined by lines... the produce a wire-frame picture. Transformation matrices can be "applied" (i.e., the matrix for each point is multiplied by a transformation matrix) to produce a rotation or other modification of the two-dimensional picture by altering the point's matrix... as the matrix specifies the point's location in three dimensions. The "projection" on the computer screen is like viewing the grouping of points from one side or another. Here are some websites that describe some of this: http://en.wikipedia.org/wiki/Transformation_matrix http://www.senocular.com/flash/tutorials/transformmatrix/ If you are interested, I suggest that you find a good book on the subject. -- numerist at aquaporin4 dot com
[toc] | [prev] | [next] | [standalone]
| From | Brian <briansipler@yahoo.com> |
|---|---|
| Date | 2013-05-21 17:25 -0700 |
| Message-ID | <4d840125-2d0a-4ae3-b0d3-8f288b944aa2@v9g2000yqo.googlegroups.com> |
| In reply to | #3368 |
Thank you everybody for your replies. James' answer about the piece part functions is what I was looking for.
[toc] | [prev] | [next] | [standalone]
| From | bob <bob@coolfone.comze.com> |
|---|---|
| Date | 2013-05-22 09:20 -0700 |
| Message-ID | <b0ed677a-c616-41b4-b892-fb1128101396@googlegroups.com> |
| In reply to | #3362 |
On Tuesday, May 21, 2013 11:19:21 AM UTC-5, Brian wrote: > Hi, I have one last question about programming: > > > > I read somewhere that programmers sometimes use mathematical equations > > to represent graphics, and that the programmers write code that > > transforms the equations into the graphics that they want. I didn't > > know this was possible. Is it possible to do this? > > > > Brian It sounds like you are talking about Scalable Vector Graphics. Basically, you use lines and curves to represent complex shapes. The curves used are often Bezier curves. You can see many of these SVGs in action at http://openclipart.org For instance, here is a ladybug that you can keep zooming in on, and it will still look curvy (not granular): http://openclipart.org/people/Keistutis/1368310520.svg Thanks.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming
csiph-web