CindyLab and CindyScript


CindyLab and CindyScript

The interrelation of CindyLab and CindyScript is very important. CindyScript has full access to all the physical parameters of a system, including positions, velocities, and forces. Using this connection one can use CindyScript either to influence or to analyze a physical scenario. Analysis of a physics simulation may result either in numerical data or in visual enhacements of the pictures that make the parameters directly apparent to the eye. The picture below shows a bridge construction that is under tension from its own weight. CindyScript was used to highlight the compression or tension in the rods. Red corresponds to strong stress by tension, while blue corresponds to strong compression. The color green indicates the absence of compression and tension. The color effect was generated by adding three lines of CindyScript code to the physical experiment:


The first line defines segs to be a list of all line segments in the drawing. The second line defines a function that translates a real number into a reasonable color value. The third line forces the color of each segment to be set in accord with the change in length (from its resting length) of the corresponding spring.

The tension in a bridge

CindyScript also provides special operations for analyzing physical experiments. For instance, the special operator drawcurve(...) can be used as a kind of curve plotter for parameter values in physics simulations. The picture below shows the energy flow in a coupled pendulum of two harmonic springs. One can observe nicely how the energy is transferred back and forth between the two pendulums.

The movement of a coupled oscillator

Our last example shows how the colorplot(...) operator can be used together with a specialized operator drawfield to visualize the flux in an electrostatic field. However, it should be mentioned that in this context the use of colorplot will require a powerful computer in order for fluent movement to be exhibited when points are dragged with the mouse.

The flux in an electrostatic field

CindyScript can be used for more than analyzing physical effects. One can also use CindyScript for controlling the physical parameters of a set of objects. In particular, there is a flag "simulate" for every physical object that can be controlled by CindyScript. This flag controls whether a physical property is to be considered in the simulation. Using these features one can readily use Cinderella to simulate machines or games with many functional dependencies.

Contributors to this page: Richter , Kortenkamp , Kohler , Kramer and Dietrich .
Page last modified on Wednesday 27 of July, 2011 [23:04:34 UTC] by Richter.

The content on this page is licensed under the terms of the License.

free viagra samplehentai girlsmature pussymilfseeker cialis samplescam clip movie nude webcammother incest order viagra online cialis ukanime rapeparis hilton phone numbers viagra alternatives cialis forum cialis free samplehot girls in pantiesmonster of cocks discount cialis cilias free viagra samplesfree chat rooms cilia structurefree cartoon sex comics buy cialis order viagrafree adult videosplump girl gallerypantyhose gallerycum on her face cheapest cialisbisexual moviestampa bukakehuge black cock thumbnails buy cialis onlineporn star cialis drugwomen having sex cheap generic viagra alternative to viagra natural viagra cheap viagraoral sexteen webcam strip videosnude spanish girlserotic sex cams movies viagra side effectscartoon adultdisney sex animenude blonde hairygang bang swinger cialis viagrabisexual free moviesgay twinkswebcam chat live xxxyoung teens order cialislatina girls thongscum loversjapanese girl viagra cheapyoung japanese girlsmr chews asian beavergangbang squadshoshone indiansmature wiveslive webcam chat girlsfree ebony viagra on lineasian ladyboysteen boys viagra pillsself bondage techniques cailisincest familyfree ebony cheap cialisgay amateur cialis genericbusty asian viagra onlinemature breasts viagra for women free viagrabig boobies cialis generic viagragloryhole gaylatinas in thongs female viagraindian tits viagra 6 free samplesamateur upskirt viagra alternativefree xxx video cialis online discountgalleries of teen girls cialis dosage cheap generic cialisparis hilton pornopussy cat dollsbrutal sexgay peopleblack milfsno tits discount viagrablonde hairy pussyshemale animefree hardcore moviesmom strips for sonfat titscelebrity legsdouble anal levitra vs cialis cialis tadalafil cialis cheapgay bdsmcelebrities exposed viagra generic alternatives to viagra viagra canadabestialitypink porn stars viagra jokesclips of teen sexchicks suck horse cock online viagrasex with horsespainful analglory holes floridafree american bukkake cialis online buy viagrabig cock cum free cialisteen gay porn cialis side effects herbal viagra best price viagra purchase cialis cialis soft tabs cialis vs viagrafree fat girl webcamfree porn movie clipsoral penis suckingebony hardcore viagra pricepantyhose crossed legs cialis and levitralesbiennesblonde boobs buy viagra online