SCIENCE & TECHNOLOGY

Science & Technology Theory

Explore scientific and engineering principles, research materials, and technical documents in an accessible format.

ANIMATION LATEX VIEWER (ANITEX: *.TEX)

ANITEX Source

User Guide

ANILATEX User Guide

LaTeX-Extended Interactive Web Framework for Scientific Publishing

Proposed and Developed by NEXMASON


1. Introduction

ANILATEX is a LaTeX-extended interactive web framework proposed and developed by NEXMASON.

It extends conventional LaTeX scientific documents by integrating mathematical notation, scientific explanations, interactive graphics, animations, simulations, and timeline-controlled demonstrations into a unified document environment.

ANILATEX is designed for applications such as:

ANILATEX does not replace LaTeX.

Instead, it extends the established LaTeX document model by introducing interactive web technologies such as SVG and JavaScript.


2. Basic Concept

A conventional LaTeX document primarily describes scientific information using text, equations, figures, and tables.

ANILATEX adds an interactive layer.

Conceptually:

LaTeX
  │
  ├── Text
  ├── Mathematical Equations
  ├── Figures
  └── Tables
       │
       ▼
   ANILATEX
       │
       ├── SVG Graphics
       ├── Dynamic Graphs
       ├── Animated Diagrams
       ├── Circuit Visualization
       ├── Physical Simulations
       ├── Interactive Controls
       └── Timeline Animation

Therefore, scientific concepts can be not only described mathematically, but also visualized and demonstrated dynamically.


3. ANILATEX Document Structure

An ANILATEX document uses the .tex format.

A typical document consists of two main components:

\documentclass{article}

\begin{document}

Scientific explanation

Mathematical equations

\begin{scienceanimation}

Interactive animation definition

\end{scienceanimation}

\end{document}

Standard LaTeX content remains compatible with the ANILATEX document structure.

The scienceanimation environment provides the interactive extension.


4. Standard LaTeX Content

Normal LaTeX commands can be used for scientific explanations.

Example:

\section{Ohm's Law}

Ohm's law describes the relationship between
voltage, current, and resistance.

\[
V = IR
\]

where

\[
V = \text{Voltage}
\]

\[
I = \text{Current}
\]

\[
R = \text{Resistance}
\]

This portion behaves like a conventional LaTeX scientific document.


5. The scienceanimation Environment

Interactive content is defined inside:

\begin{scienceanimation}

...

\end{scienceanimation}

This block contains information required by the ANILATEX Viewer to generate interactive scientific visualization.

The Viewer interprets the animation definition and generates the corresponding SVG and JavaScript behavior.

Conceptually:

ANILATEX .tex
      │
      ▼
ANILATEX Parser
      │
      ├── LaTeX Renderer
      │
      └── scienceanimation Parser
                │
                ▼
          SVG / JavaScript
                │
                ▼
       Interactive Web View

6. Example: Electrical Circuit

A simple circuit can be represented conceptually as:

\section{RC Circuit}

For an RC charging circuit,

\[
V_C(t)=V_S\left(1-e^{-t/RC}\right)
\]

The current is

\[
I(t)=\frac{V_S}{R}e^{-t/RC}
\]

\begin{scienceanimation}

{
  "type": "circuit",

  "components": [
    {"type":"voltage_source","value":"5V"},
    {"type":"resistor","value":"1k"},
    {"type":"capacitor","value":"100uF"}
  ],

  "animation": {
    "currentFlow": true,
    "voltageGraph": true,
    "timeline": true
  }
}

\end{scienceanimation}

The ANILATEX Viewer may visualize:

Voltage Source
      │
      ▼
   Resistor
      │
      ▼
   Capacitor

Animated particles or lines can represent current flow.

At the same time, the capacitor voltage graph can dynamically display:

V_C(t)=V_S(1-e^{-t/RC})

7. Dynamic Graphs

ANILATEX can associate mathematical expressions with animated graphs.

Example:

\[
y = \sin(x)
\]

\begin{scienceanimation}

{
  "type": "graph",

  "function": "sin(x)",

  "range": {
    "x": [-6.28, 6.28],
    "y": [-1.2, 1.2]
  },

  "animation": {
    "timeline": true
  }
}

\end{scienceanimation}

The graph may be progressively drawn according to the animation timeline.


8. Physics Simulation

ANILATEX can also represent physical phenomena.

For example, harmonic motion:

x(t)=A\cos(\omega t+\phi)

can be connected to an animated object.

\begin{scienceanimation}

{
  "type": "physics",

  "model": "harmonic_motion",

  "parameters": {
    "amplitude": 100,
    "frequency": 1
  },

  "animation": {
    "timeline": true
  }
}

\end{scienceanimation}

The Viewer can display both the mathematical model and the corresponding motion.


9. Timeline Control

Timeline control is one of the core features of ANILATEX.

A typical interface may provide:

[ Play ] [ Pause ] [ Reset ]

0s ─────────────── 5s ─────────────── 10s
                 ▲
              Timeline

The timeline can control multiple scientific elements simultaneously.

For example:

0–2 s    Voltage source activated

2–4 s    Current begins flowing

4–6 s    Capacitor charges

6–8 s    Voltage graph rises

8–10 s   Steady-state condition

This allows scientific processes to be explained step by step.


10. SVG Visualization

ANILATEX uses SVG as one of its primary graphical technologies.

SVG is suitable for scientific visualization because individual graphical elements can be independently controlled.

Examples include:

Circuit components
Vectors
Electric fields
Magnetic fields
Waveforms
Graphs
Planetary orbits
Mechanical systems
Coordinate systems
Scientific diagrams

JavaScript can dynamically modify SVG attributes such as:

position
rotation
scale
opacity
path
color
visibility

This makes complex scientific animation possible directly inside a web browser.


11. Interactive Parameters

Scientific parameters may be changed interactively.

Example:

Resistance

R = [ 1000 ] Ω

Voltage

V = [ 5 ] V

Capacitance

C = [ 100 ] µF

Changing a parameter can cause ANILATEX to recalculate the mathematical model and update the visualization.

For example:

\tau = RC

If either \(R\) or \(C\) changes, the time constant and charging graph can be updated immediately.


12. Typical Workflow

The basic ANILATEX workflow is:

1. Create a .tex document
          │
          ▼
2. Write scientific explanations
          │
          ▼
3. Add LaTeX equations
          │
          ▼
4. Add scienceanimation blocks
          │
          ▼
5. Open the document with
   the ANILATEX Viewer
          │
          ▼
6. Parse LaTeX and animation data
          │
          ▼
7. Generate SVG / JavaScript
          │
          ▼
8. Display the interactive
   scientific publication

13. Application Areas

ANILATEX can be applied to many scientific and engineering fields.

Electrical Engineering

Circuit operation Current flow Voltage distribution Signal processing Electromagnetic fields

Physics

Wave propagation Particle motion Orbital mechanics Electric and magnetic fields Quantum concepts

Mathematics

Functions Vectors Geometry Differential equations Coordinate transformations

Mechanical Engineering

Motion Force Torque Vibration Dynamic systems

Computer Science

Algorithms Data structures Neural networks Signal flow Computational models


14. Educational Applications

ANILATEX is particularly suitable for engineering and science education.

Traditional documents usually present:

Theory
+
Equation
+
Static Figure

ANILATEX extends this model to:

Theory
+
Equation
+
Interactive Figure
+
Animation
+
Simulation
+
Timeline
+
Parameter Control

Students can therefore observe how mathematical equations correspond to physical behavior.


15. Scientific Publishing Concept

ANILATEX introduces the concept of an Interactive Scientific Publication.

Traditional publication:

Paper
PDF
Static Figure
Equation

ANILATEX publication:

Scientific Document
        │
        ├── Text
        ├── Equations
        ├── Interactive Figures
        ├── Dynamic Graphs
        ├── Simulations
        ├── Animations
        └── Timeline Demonstrations

The scientific document therefore becomes an executable and interactive medium for explaining scientific phenomena.


16. Design Philosophy

The fundamental philosophy of ANILATEX is:

Preserve LaTeX. Extend Interaction.

ANILATEX maintains the structured scientific-document approach established by LaTeX while extending it with modern web-native interactive capabilities.

The goal is not merely to display scientific information.

The goal is to allow scientific ideas to be:

Written → Formulated → Visualized → Animated → Simulated → Explored


17. Summary

ANILATEX is a next-generation LaTeX-extended interactive web framework designed for scientific communication, engineering education, and scholarly publishing.

Its core architecture combines:

LaTeX + SVG + JavaScript + Scientific Animation + Simulation + Timeline Control

within a unified scientific document environment.

ANILATEX enables equations, explanations, diagrams, graphs, circuit behavior, and physical phenomena to be presented as interconnected and interactive scientific content.


ANILATEX

Extending LaTeX from Static Documents to Interactive Scientific Publications.

Proposed and Developed by NEXMASON

ANITEX

An Open Interactive Scientific Document Framework

Originally conceived and developed by NEXMASON


Beyond Static Scientific Documents

ANITEX is an open framework for creating interactive scientific and engineering documents.

It extends the traditional scientific-document workflow by combining LaTeX-based mathematical notation and technical writing with interactive visualization, animation, simulation, SVG graphics, JavaScript-based execution, and timeline-controlled demonstrations.

Traditional scientific documents are designed primarily to describe ideas.

ANITEX is designed to let readers see how those ideas behave.

An equation can be connected to a moving graph.
A circuit can visualize current and voltage.
A wave equation can become an animated wave.
A vector field can evolve dynamically.
A planetary model can demonstrate orbital motion.
A scientific explanation can unfold step by step.

ANITEX transforms a scientific document from a static representation of knowledge into an interactive scientific experience.


The Idea

Scientific knowledge is often expressed through text, equations, figures, and graphs.

These forms are essential, but many scientific concepts describe systems that change over time.

Circuits operate.
Fields vary.
Waves propagate.
Vectors change.
Graphs evolve.
Planets move.
Physical systems respond to parameters.

ANITEX introduces a document model in which these behaviors can become part of the scientific document itself.

The fundamental idea is simple:

Scientific knowledge should not only be read. It should also be seen, explored, and experienced.

One Document, Multiple Layers

An ANITEX document can combine multiple forms of scientific communication within a single document structure:

Theory → Equations → Visualization → Animation → Simulation → Interaction

The document may contain conventional LaTeX content together with ANITEX interactive blocks describing dynamic scientific behavior.

For example:

Scientific Explanation
        ↓
Mathematical Model
        ↓
ANITEX Interactive Block
        ↓
Visualization / Simulation Engine
        ↓
Interactive Scientific Experience

This approach allows the mathematical description and its dynamic interpretation to remain closely connected.


Core Capabilities

ANITEX is designed to support a broad range of scientific and engineering content, including:

The framework is intended to remain extensible so that new scientific visualization and simulation modules can be introduced over time.


ANITEX Document Architecture

Conceptually, an ANITEX document may be represented as:

ANITEX Document
│
├── Scientific Text
│
├── LaTeX Equations
│
├── Figures and Data
│
├── ANITEX Interactive Definitions
│
│   ├── Objects
│   ├── Parameters
│   ├── Equations
│   ├── Events
│   ├── Timeline
│   └── Simulation Rules
│
└── Interactive Rendering Engine
    ├── SVG
    ├── JavaScript
    ├── Graph Engine
    ├── Animation Engine
    └── Scientific Simulation Modules

The objective is not to replace LaTeX.

Instead, ANITEX builds upon the established scientific-document concept and introduces an additional interactive layer for dynamic scientific communication.


ANITEX Specification

The ANITEX Specification defines how interactive scientific content can be described within an ANITEX-compatible document.

A conforming implementation may interpret these definitions and render them using different technologies or platforms.

This separation between the document specification and the viewer implementation is intentional.

It means ANITEX does not need to belong to a single application.

Different developers may create:

A document created according to the specification should ultimately be capable of being interpreted by different ANITEX-compatible systems.


Open by Design

ANITEX is intended to be an open scientific framework.

NEXMASON created ANITEX with the hope that researchers, educators, students, engineers, scientists, and developers around the world will use it, experiment with it, improve it, and extend it.

Researchers may use ANITEX to communicate scientific models.

Educators may create interactive teaching materials.

Students may explore difficult concepts visually.

Engineers may demonstrate the behavior of systems and circuits.

Developers may create new ANITEX-compatible viewers, editors, visualization modules, and simulation engines.

The objective is not to create a closed document format controlled by a single implementation.

The objective is to encourage an open ecosystem for interactive scientific communication.


Compatibility, Not Dependency

ANITEX should be understood as a specification rather than a single viewer.

The original NEXMASON implementation demonstrates one way of interpreting and rendering ANITEX documents.

However, the specification is intended to allow independent implementations.

In the future, an ANITEX document could potentially be opened by:

NEXMASON ANITEX Viewer
        │
        ├── Web Viewer
        ├── Desktop Viewer
        ├── Mobile Viewer
        ├── Educational Platform
        └── Third-Party ANITEX Viewer

The long-term goal is interoperability.

Create once. Explore anywhere.


For Research and Education

ANITEX is particularly suited to subjects where understanding depends on observing change, motion, relationships, or system behavior.

Potential applications include:

Physics
Fields, waves, mechanics, optics, quantum concepts, orbital motion

Electrical & Electronic Engineering
Circuits, current flow, voltage, signals, electromagnetic systems

Mathematics
Functions, vectors, geometry, differential equations, transformations

Computer Science
Algorithms, data structures, networks, AI models

Astronomy
Planetary systems, orbital mechanics, coordinate systems

Engineering Education
Dynamic system demonstrations and interactive laboratory material

ANITEX is not limited to these areas.

Its architecture is intended to allow entirely new scientific modules to be developed by the community.


A Living Scientific Document

A traditional document tells the reader:

“This is the equation.”

ANITEX can additionally ask:

“What happens when we change it?”

A traditional figure shows one state of a system.

ANITEX can show how that system evolves.

A traditional graph presents a result.

ANITEX can allow the reader to change parameters and observe how the result changes.

For this reason, ANITEX introduces the concept of the:

Living Scientific Document

A scientific document whose equations, visualizations, simulations, and explanations can interact with the reader.


An Invitation to the Community

ANITEX begins as a NEXMASON project, but its vision extends beyond a single organization.

We invite researchers, educators, students, engineers, developers, and scientific communities to explore the concept and participate in its evolution.

Use it.

Study it.

Teach with it.

Build with it.

Extend it.

Create compatible implementations.

Propose new scientific modules.

Improve the specification.

ANITEX should become more capable as more people contribute ideas and implementations.


Our Vision

We envision scientific documents evolving from:

Paper → Digital Document → Interactive Scientific Document

and ultimately toward documents in which:

Equations become executable.

Figures become interactive.

Models become explorable.

Scientific ideas become experiences.


ANITEX

From Scientific Documents

to Interactive Scientific Experiences.

Open • Interactive • Extensible • Scientific

Originally conceived and developed by NEXMASON

Designed for researchers, educators, students, engineers, developers, and everyone who believes scientific knowledge should be easier to explore, understand, and share.