Logo by Kaliyuga - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 27, 2024, 04:17:36 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Eisenscript and Structure Synth in WebGL and three.js  (Read 7616 times)
0 Members and 1 Guest are viewing this topic.
barcud
Navigator
*****
Posts: 69


« on: October 20, 2016, 02:13:15 PM »

First try with BrowserSynth and the browser port of Eisenscript
simple script:
6 * { ry 60 } r
rule r md 22 {
{x 2}sphere
{ ry 12 rx 12 rz 22 x 1 z -0.4 y -0.4 s 1.1 0.8 1.2} r
}
rule r md 22 {
{z 2 s 0.5}torus
{ ry 22 rx 22 rz 12 x 1 z -0.4 y -0.4 s 0.8 0.8 1.1} r
}

So you can squash spheres and use other primitives like torus and so on.
Scripts so far work a bit different from the eisen script in Structure synth but it is certainly a start
live demo here - zoom with mousewheel, rotate left click and shift right click.
https://playingwithstuff.000webhostapp.com/play2/

Project is hosted on GitHub here at https://github.com/after12am/eisenscript


* 2016-10-20_131225.jpg (233.95 KB, 2780x800 - viewed 646 times.)
Logged
barcud
Navigator
*****
Posts: 69


« Reply #1 on: November 22, 2016, 04:45:20 PM »

Still playing with BrowserSynth - this is a first attempt at using tori and cylinders to create some pipework.
No fancy decoration but it works quite well.
It generates 1000 objects which for me works fine with 60FPS on Chrome and Opera but on Edge and IE the performance goes down to 15FPS
If you want to have a play:

https://playingwithstuff.000webhostapp.com/pipeworks/index.html

Move with right button, rotate with left, wheel zooms and s-key creates a popup with the image


* pipeworks2.jpg (164.71 KB, 1920x988 - viewed 611 times.)
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Structure Synth General Discussion seied 11 3848 Last post October 21, 2012, 11:02:36 PM
by blob
Structure Synth 3D Fractal Generation VanlindtMarc 2 5030 Last post July 11, 2013, 10:59:34 PM
by VanlindtMarc
Structure Synth related links Structure Synth VanlindtMarc 2 4745 Last post January 15, 2016, 03:16:22 PM
by barcud
Still using structure synth for houses Structure Synth Gallery barcud 5 2012 Last post April 06, 2016, 11:26:59 PM
by matsoljare
Panoramic images using Structure synth Structure Synth Gallery barcud 0 1212 Last post January 15, 2016, 03:00:38 PM
by barcud

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.327 seconds with 25 queries. (Pretty URLs adds 0.01s, 2q)