50 likes | 70 Views
ChemTrain is a rule-based language allowing easy creation of various behaving pictures independent of application domain. The rules specify condition and action using pictures directly. Accessible to non-programmers, it utilizes pictorial rewrite rules based on picture topology. Cognitive dimensions include high abstraction gradient with visual metaphor, direct mapping, and role-expressiveness. It supports unlimited symbols and entities, while lacking color support.
E N D
ChemTrains: A Language for Creating Behaving Pictures Group 2: DongJin Lee Fan Zhang Hongyu Yang Yoon-young Lee
ChemTrain • A rule-based language in which both the condition and action of each rule are specified by pictures. • Top goal is to make it as easy as possible for people to create a wide range of behaving pictures. • Application domain independent • Linked in a direct way to pictures and the desired behavior for pictures • Accessible to people with limited programming knowledge • Behavior specified by pictorial rewrite rules, each of which consists of a pattern picture and a result picture. • A ChemTrain rule will execute when the topology rather than the geometry of a pattern matches a portion of the simulation picture, enabling rules to be drawn at a high level of abstraction.
Cognitive Dimensions • Abstraction Gradient • Very high level of abstraction with visual (image) metaphor • Closeness of Mapping • Direct mapping of user’s view expressed in images • Consistency • Per user, visual expression in images likely to vary greatly between programmers • Diffuseness • High: unlimited number of symbols and graphic entities • Hidden Dependencies • Symbolic indication through images
Cognitive Dimensions Contd. • Premature Commitments • Low: Complete set of decisions before images are drawn • Progressive Evaluation • Possible to test rules created so far • Role-expressiveness • Readers able to see how each component of a program relates to the whole • Secondary Notation • Vague concept of secondary notation as images/layout can take indefinite number of forms. • No colours supported • Viscosity • A single change pertaining to a single rule