Illustrator :: How To Create Picture Based On Mathematical Formula
Oct 9, 2012
I work a lot with Processing to create picture based on mathematical formula, but i need to do the same in Illustrator in order to print those picture.
Is there any way to do this, like the expressions in After Effects, or a third party plugins.
Or did i have to find a way to output good picture from Processing.
For a project, I'm needing the mathematical equations/formulas/matrices of a vector. Vectors are all essentially mathematical... thingies so is there some way that I can get the mathematical calculations that are used to make up a vector object in Illustrator? Or any third party program or script that can pull these formulas for me?
I want to add a column to my parts list, which displays a value based on a formula.
Lets say i want to show the submerged weight of a part; So i need to create a column, which can use the information about a parts volume and mass to calculate its submerged weight.
An easy formula, but is this possible in Inventor (2012 Pro)?
I was hoping to create a JS script to move objects away from common center based upon their current position. I was thinking to use a single selected path item as the center based on its position x/y and width/height. Using this reference point the script would then move away all other path items from this center point based on a desired amount and with uniform increments given their current location from this center. I was thinking cos and sin would be my friend in this case, however they seem to have become my foe instead. ;-)
Does this sound doable? What am I missing, doing wrong, misinterpreting? Below is a non-working attempt, I can't seem to sort things out, perhaps I was close and missed it or maybe I am super way off and its more complex than I thought. However at this point I am confused across my various failed attempts this only being one of them.
// Example failed code, nonworking concept var docID = app.activeDocument; var s0 = docID.selection[0]; pID = docID.pathItems; var xn, yn; var stepNum = 20;
it is possible to create text and then attach a formula to it to change it.
For example:I want to be able to draw or pick a line and if the line is less than X ft than "Say this" if the line is greater than X ft than "Say that"
Illustrator cs6 - I have used image trace to create a 3 colour image of a photograph. Is there a way to create layers based on the three colours? (One layer for each of the three colours)
I have a map that I have scanned that has all the buildings and all the apartment numbers in each building. I have an SQL database that has whether or not each apartment is rented. I would like an automated way of highlighting each apartment number based on whether it is rented, has a depsoit, is vacant, etc. all in different colors. Is this possible with Adobe Photoshop or any of their products?
i am trying to use a seamless vector pattern i created in illustrator in photoshop, however when i resize it it is rasterized. is there a way to keep it a vector and use it as a layer effect?
With any lens, there is an inherent distortion. I've seen grids at photozone.de in their lens reviews. If possible, I want to use Photoshop to create the same distortion my lens would create. For example, if I photograph a sheet of graph paper, the result would be a distorted grid. Can I get photoshop to take an UN-distorted grid, and distort it in the same manner? How complicated is this, if possible?
I'd like to either use Grid view sorted by dimensions, or create a Collection based on dimensions. I can do this in Adobe Bridge, but thought Lightroom would add functionality to this.
Can i create a saturation mask based on a gradient map? For the example a gradient blue from 2441f6 to 6075f6 , and have a luminosity mask based of this gradient.
I have been asked to produce a large text based image to be printed on a gym floor with a size of approx. 2m squared. I am using a Collegiate style font and then rasterising the text to allow different coloured parts and blending the letters in to each other. I have produced the image in small scale, but now need to redo the image suitable for printing at such a large size. I know I will have to start again from scratch but am concerned that it may be pixelated at such a large size.
My vision is when someone inserts "block A", a promt will come up and ask "how many of "block A" do you need?" Based on how many you need, it will insert the block along with the arrayed amount the user has typed in.
I want to create a pyramid with a base of three sides with different lenght. In the end i want to have a solid where i can drag and move the notes to change the hight,lenght and the angle of the sides.
I already managed to draw it in 3d but now i want to convert the drawing into a solid and keep it flexible to change the parameters by draging the notes.
I also tried to extrude a triangle with a specific angle but then i was only able to move the top note up and down changes the hight. Doing it this way the top note also kept beeping in the center-point of the triangle.
how to create a selection set based on a specific Multileader style? I can currently creating a typedvalue array to define the filter criteria, but cannot find the DXFCODE for the Multileader style.
I am doing some animations involving sine waves, and I can make an expression that controls the translation of an object such that it travels along the path of a sine wave, but I can't figure out how to dynamically create an editable sine wave curve.
Is there a way to have Maya generate a curve based upon the path that an object travels upon?
For instance I have a sphere that is moving along the X axis with time, and also moving up and down on the Z axis back and forth. I would like to make an editable curve object of this path of motion.
I can see in Maya 2012 we will have motion trails where we can see the actual path an object is moving along, and that we will be able to interact with this path to alter the animation, but what if we could take that path and make it an actual curve or NURBS object?
Can I draw mathematical equations in Inventor drawing? I am using the stacking functionality but that fails when I need to include symbols such as greek characters.
I do not have to draw fancy equations just the simple fractions but I need the greek characters to appear.
I developed a program in VBA that used a form to allow users to create new dwg files based on selected criteria the vba program would then create and open the new dwg file and in the case of sheet files, it would populate title block attributes as well.
In vba, the forms focus was carried to the new file so the application would fill in the attributes, etc. as described above,
However in vb.net, I have not been able to get the form to recognize the new file. The program creates and opens the file, however the forms focus is still on the initial file so any actions to be applied to the new file are not carried out.
I am trying to create a parametric seating row with a Generic Line Based family.
If you check the file for the Length (default) parameter, I am multiplying it by the Arm Distance (600mm) so that the pattern repeats while I stretch out the line.
=Chairs * 600 mm
I want to add a parameter for the Arm Distance linked with the actual seat so that if I make the chair wider the pattern would adjust accordingly.
=Chairs * Arm Distance3
This way I could adjust the chair width and Line Based family all at once. However, I am finding that when I add "Arm Distance3" to the equation the Line Based feature stops working.
I'm using CorelDraw 12 to make mathematical drawings. Triangles, circles, tangent lines, perpendicular lines, etc... and that works really fine
But... I'm having a hard time entering mathematical equations, especially when using a lot of fractions and square-root-signs. Is there an "easy" way to do that?
I am trying to design a barrel cam. This works well with lofting, but I am not so sure about the mathematical accuracy. I am used to making cams like this with 1/4 degrees resolution - much too cumbersome in lofting. Is there a way with "_sweep" to constrain the profile (2d polyline) so that it stays e.g. parallel with the Z-axis?
I have a macro that I acquired somewhere (possibly these boards, can't remember now) for placing a parts list. I have modified it somewhat to change the location on the sheet where the list gets placed, as well as a sub that starts the autoballoon command afterward.
The macro is set up to place the parts list in the upper left corner, by adding the parts list width to the Mini Point of the border. This works perfectly well, except that we have two parts list styles, and they are differently sized.
What I would like to do is have the macro detect the parts list style, and change the offset value depending on which style it finds. I am an extreme novice with the API, who basically knows just enough to tweak sample code a bit, and have not been able to find anything close enough to use as an example.
How I should go about this, or even post some samples of something similar? Current code is shown below.
Public Sub CreatePartsList() On Error Resume Next ' Set a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet. Dim oSheet As Sheet Set oSheet = oDrawDoc.ActiveSheet ' Set a reference to the first drawing view on ' the sheet. This assumes the first drawing ' view on the sheet is not a draft view. Dim oDrawingView As DrawingView Set oDrawingView = [code].......
The macro does not have to set the parts list style - that is controlled by the drawing Standard. It just needs to detect what it is, and place the list accordingly.
make a LISP that will work with my room dimensioning? I'd like to be able to specify the width and depth of the room using a command similar to the "dist" command, and then click a point to place a text based on the distances gathered. I'd also like the text to be formated into architectural units and displayed like this: 12'-0" X 13'-5". Also, if possible, round the result to the nearest inch (to avoid 1/2" and 1/4" dimensions).
I am wanting to display previews (pngs) of the ai files in the plugin that match search criteria on a button. As the user scrolls through the results, change the button picture to be the png for that ai file. I tested it with a default image in case the image doesn't exist. The test image is cropped to the size of the button.
The pngs are necessarily 600x600 pix. (For other applications). I want to resize them for display on the button.
the expression in question is part of larger lisp routine to create and rotate text based on the object selected and the viewtwist variable (we use dview twist to rotate our views when needed)
So the expression in question: (< (/ pi 2) ang (* pi 1.5) where ang is the total angle used to determine proper rotation of the text.
Now the problem. In most cases where ang = 90 (or 1.5708 radians) this works fine. the two exceptions i have encountered
in testing are a line at 70 degress, viewtwist 20, and line at 50, viewtwist 40. For whatever reason at these two conditions the expressoin evaulates True instead of nil and rotates the entire text object incorrectly (180 degrees). So question is how exactly is this being evaluated? i know its comparing ang (* pi 1.5) to (/ pi 2). is there some sort of rounding error? or maybe the expression needs a wee bit more definition? attached image and full lisp routine for reference of what is happening, blue text is angle of the line as created by routine at viewtwist 0.