You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FEAScript](https://feascript.com/) is a lightweight finite element simulation library written in JavaScript. It empowers users to perform simulations for physics and engineering applications in both browser-based and server-side environments. This is the core library of the FEAScript project.
10
8
11
9
> π§ **FEAScript is currently under heavy development.** Its functionality and interfaces may change rapidly as new features and enhancements are introduced.
12
10
13
11
## Contents
14
12
15
13
-[Ways to Use FEAScript](#ways-to-use-feascript)
16
-
-[JavaScript API (FEAScript Core)](#javascript-api-feascript-core)
14
+
-[FEAScript API](#feascript-api)
17
15
-[Use FEAScript in the Browser](#use-feascript-in-the-browser)
18
16
-[Use FEAScript with Node.js](#use-feascript-with-nodejs)
19
-
-[Use FEAScript with Scribbler](#use-feascript-with-scribbler)
-[Use FEAScript in JavaScript Playgrounds](#use-feascript-in-javascript-playgrounds)
18
+
-[FEAScript Platform](#feascript-platform)
21
19
-[Quick Example](#quick-example)
22
20
-[Support FEAScript](#support-feascript)
23
21
-[Contributing](#contributing)
@@ -27,22 +25,22 @@
27
25
28
26
FEAScript offers two main approaches to creating simulations:
29
27
30
-
1.**[JavaScript API (FEAScript Core)](#javascript-api-feascript-core)** β For developers comfortable with coding, providing full programmatic control in browsers, Node.js, or interactive notebooks.
31
-
2.**[Visual Editor (FEAScript Platform)](#visual-editor-feascript-platform)** β For users who prefer a no-code approach, offering a block-based visual interface built with [Blockly](https://developers.google.com/blockly).
28
+
1.**[FEAScript API](#feascript-api)** β For developers comfortable with coding, providing full programmatic control in browsers, Node.js, or interactive notebooks.
29
+
2.**[FEAScript Platform](#feascript-platform)** β For users who prefer a no-code approach, offering a block-based visual interface built with [Blockly](https://blockly.com/).
32
30
33
31
Each approach is explained in detail below.
34
32
35
-
### JavaScript API (FEAScript Core)
33
+
### FEAScript API
36
34
37
-
The JavaScript API is the core programmatic interface for FEAScript. Written entirely in pure JavaScript, it runs in three environments:
35
+
The FEAScript API is the core programmatic interface for FEAScript. Written entirely in pure JavaScript, it runs in three environments:
38
36
39
37
1.**[In the browser](#use-feascript-in-the-browser)** β Use FEAScript in a simple HTML page, running simulations locally without additional installations or cloud services.
40
38
2.**[With Node.js](#use-feascript-with-nodejs)** β Use FEAScript in server-side JavaScript applications or CLI tools.
41
-
3.**[With Scribbler](#use-feascript-with-scribbler)** β Use FEAScript in the [Scribbler](https://scribbler.live/) interactive JavaScript notebook environment.
39
+
3.**[In JavaScript playgrounds](#use-feascript-in-javascript-playgrounds)** β Use FEAScript in the [Scribbler](https://scribbler.live/) interactive JavaScript notebook environment.
42
40
43
41
#### Use FEAScript in the Browser
44
42
45
-
You can use FEAScript in browser environments in two ways:
43
+
You can use FEAScript in browser environments in three ways:
46
44
47
45
-**Import from Hosted ESM Build:**
48
46
@@ -52,6 +50,14 @@ You can use FEAScript in browser environments in two ways:
You can download the latest stable release from [GitHub Releases](https://github.com/FEAScript/FEAScript-core/releases).
@@ -89,27 +95,29 @@ When running examples from within this repository, this step isnβt needed as t
89
95
90
96
π Explore Node.js use cases on the [examples directory](https://github.com/FEAScript/FEAScript-core/tree/main/examples).
91
97
92
-
#### Use FEAScript with Scribbler
98
+
#### Use FEAScript in JavaScript Playgrounds
93
99
94
-
FEAScript also works well in interactive JavaScript notebook environments where you can write code, visualize results inline, and share your work with others. [Scribbler](https://scribbler.live/) is one such platform that comes with preloaded scientific libraries, making it an excellent choice for FEAScript simulations.
100
+
FEAScript works well in interactive JavaScript playgrounds where you can write code, visualize results inline, and share your work.
95
101
96
-
π Explore FEAScript notebook examples on the [Scribbler Hub](https://hub.scribbler.live/portfolio/#!nikoscham/FEAScript-Scribbler-examples).
For users who prefer a visual approach to creating simulations, we offer the [FEAScript Platform](https://platform.feascript.com/) - a browser-based visual editor built on the [Blockly](https://developers.google.com/blockly) library. This no-code interface allows you to:
108
+
For users who prefer a visual approach to creating simulations, we offer the [FEAScript Platform](https://feascript.com/feascript-platform.html) - a browser-based visual editor built on the [Blockly](https://blockly.com/) library. This no-code interface allows you to:
101
109
102
110
- Build and run finite element simulations directly in your browser by connecting visual blocks together.
103
111
- Create complex simulations without writing any JavaScript code.
104
112
- Save and load projects in XML format for easy sharing and reuse.
105
113
106
-
While FEAScript's JavaScript API offers full programmatic control for advanced customization, the FEAScript Platform provides an accessible entry point for users without coding experience.
114
+
While FEAScript API offers full programmatic control for advanced customization, the FEAScript Platform provides an accessible entry point for users without coding experience.
107
115
108
-
π Explore FEAScript Platform examples on our [website](https://feascript.com/#tutorials).
116
+
<!-- > Note: The FEAScript Platform is not yet available -->
109
117
110
118
## Quick Example
111
119
112
-
Here is a minimal browser-based example using the JavaScript API. Adapt paths, solver types, and boundary conditions as needed for your specific problem:
120
+
Here is a minimal browser-based example using the FEAScript API. Adapt paths, solver types, and boundary conditions as needed for your specific problem:
0 commit comments