Вверх ↑
Этот топик читают: Гость
Ответов: 198
Рейтинг: 2
#1: 2017-06-28 10:53:15 ЛС | профиль | цитата
Доброго времени суток, фомурчане!

Так как с JS и jQuery я особо не дружу, и пользуюсь ими очень редко, мне нужна ваша помощь.

Собственно нужно сделать движущийся фон на странице сайта, но не просто из стороны в сторону, такое есть в публичных скриптах, а более разнообразное.

Собственно вот накидал пример в приложениях Windows:
Add(MainForm,15075896,462,154)
{
Width=345
Height=144
Caption="Пример использования Img_Bmp"
Position=1
link(onCreate,10371986:doEvent1,[])
}
Add(PaintBox,16084042,378,154)
{
Width=200
Height=100
link(onBeforeDraw,7075259:doDraw,[(421,160)(421,202)(348,202)(348,265)])
}
Add(Bitmap,2881753,644,154)
{
}
Add(Img_Bmp,7075259,378,259)
{
X=-100
Point(X)
Point(Y)
link(Bitmap,16084042:Bitmap,[])
link(SourceBitmap,2881753:Bitmap,[(391,212)(650,212)])
link(X,15620426:Var,[])
link(Y,11729024:Var,[])
}
Add(Jpeg,4111928,595,154)
{
Jpeg=[ZIP9D1A000078DAAD97775413DBBFC507101014BD54155194A67429A1485141BAB4240409284208905024848ECAB5A012E9104A10949A46314080D02C972E88F48E0212E98AF4A2BCE0FDBD77FF786FAD57D6DB3367E6933367CED9FB3B59B3D6EC0DEE7D06FE3037363306D8D8D80053D606EC4D009E4621287700B0B404E4000038081C6013053859C4C66AFA6C27FF838DD9CE031CBF999D7550D93F02FCAC6605FC2DD37F8DFB7DF67341F90628F92203CEA82B5D5052B9C05A69925DCBCCD0D0D9066C6D6C76CD88650100D8CF5FB96A60C4FE0700F8F806F8834D0CCE5C77809FE1EE04B87EAFC4920B02EB77C5C6E6DA3EFBDEF64502FF49EBFDBF57057A14F7E702FE77E245F8F907B0CEBBACA6EA86C42258D6595E01B7E0003F563F5B328B855CBD7E33699FFDA1604316D7B2F888C7DFDCBECFAE7FF3E83EFBB342B078617FBCC76FDE2F156B9EBF59689F039021FBEB0286B7FD42FD511E9E016754B4B5B5CF5C71BBED8A3C0309C506207DB067CC7C11B7FDFD6EFBBB0420DDF64DFDF6F7B7EF2B7E7EDEC833AC8A01FFBFDAAFFFDFB462FBBBAE6C22EDFFF4FD2344A07FD0BF908DADE3BFFFFDCF1CA1750070050C000718FFF4C13601A05019004E71FCD32723010002110040F3DB1B010C017636B6FDFD5FE2E0E4D817D781031C9CDC5CDCDCFBED20CF219E8307790F7273F3F2F1F21E3ACC1237CF91A37C878FECF3FE24FBB7EFDFC5DA0F1FE43E78F87FADBD3700FF4180CCA6C0C12601B0F3B371F0B3ED3500E2AC8C9C6CBFF5EFE56163E738C0C9C5B2C47B883580FE07CB3E07073BCB2CE78103ACAB7759D78103FC9C026755AE7009DABA704B608454EF27641F9434A0BD1506777D975273F57FC0C32B72ECF80951699973E765E5D4411A9A5ADA170DAF1A199B989A9943A076307B56B1106E48770F4F141A1B1018141C121AF6F051E4E3274FA3708949C9F894D4B474424E6E5E7E019144A6949695D32B2AAB18D5EFFE6A686C6A6E696DEBEEE9EDEB1F181C1A9E989CFA32CDFC3A333BB7FC6365756D7D63736B7B3F171BC0C1F6EFFA2F73F1B372B1B39EC101EEFD5C6CECC1FB03F80F709E55E112B862CBED82119450BD7F50C820219BF69647520DFC5DD8D5BF8B57444A7D427A793FDAEF64FFB3600FFE4FC9FE23D83FB98681C31CAC57183F073F7009D8DEDA557DEA3F92D647F57201782942E1BCE3553D2ABB32D937745376AA4ACAF15E4B1197CD8B366447B2BD6191254B73EBA913A1CA421A175E9BD3C227188A2E6DEBC50EB067415A5F9F3EC0E3BA688871E213AC6891AFC30073DE5E31579B1C2634841E52896516358B0B1FE6BD42C5BC9461B8B54B353750AAC88F46D0205C6A6B2BB3CCED92AA2DB651AEBD6333BCDB844BAEAF2821B382B407CC435BF3C9CFF3124F9C54C3551E08A11ECA314DF8DA9D71B4A5D1F131BCB1D71A21EE99FF6A736A9D1A54FD70284B9BF2CB5DD67673FEFAFB1BAD89F5D335315616B4E85B10172B3990776F57859C684553504503ED2184F219CABB2934A50C52684DEA71FA0281DDE979E8BB4AA6715CBE15D261DA633A1FD39414783E49E8CF00CCA2B0CC229DC3C947FD2F6D170B7C69A80392387CB187231574D03794189A2606997EE59F24EF2334A13147A1742E42CEF398C81D01FB0CBDC4DA52DD9F3B0B6BF04B448BF2BC21C1BD79A33B3B67AD93EF14564935024B941C2BD4A47730B14D2C7FD0AD959A50F9DE0163F1404FEE0B1629AF7D35FDEAB21789FFD87D8754A504D1A0DC42EC26EC486EA1ECBC44F35A0925525BAF93127D622C24A24163F97AA13754F8330454C26FB02C0C4991C47DF661A2ACA6AB142E0D35DEC07907EFCE6BBBB8E6B7632D788EF822E047335F8BD6F0F344135A2A6B0F390E9FC6FFCCBFCD54E94413E2F03722ED5B8A79828FEF74C052DCF4F88EDD138F91D0B17F39EFE0A77379E1D1F7025A0C9116A94D5EF0CE7FD74BF503768A6C37DDBBF50C82568E8ECDE879E5FD6A8A812CE1DEE51B1D6BF380973EA43D487D167DB48DAEAB4629142CAD34D685B9935D2B06105E817372D24FBC3C82D5CDE56C798CAC34749A6A627277DABC382055B0FA9F9F5C5A0B1BAA337C3FA9D0BA0BE815848874E8D480F0A3F324F450F479924E05DCAC140D4DA4EAFAC36FB5D0252C1312ECDCD6D5BB16E06668A35442416912F8F19BC22D538C6254C721EC37BBCFC68C64E3D78DF094EDD37D5F8B3C6472199166C652FC16B53BD0F74A9C8618F77EC8D1A54A21720B5924C629CD1C336FB96256104B3FE384E311B5F2E4E0CA1214FA9C968F713272EA7DF6F4038A7DD922BE0E25A09CE69C7FDE198ECA60CF4974F53C2490FE2769FC9B30CC312BACF7ECFB2CBAB94C17B12F95EF2D76DEDAF80D652E08672B33470D3A02BDAE0A49A8142D2E85F4CD1926570ABAF5CD38E0600126C281629CCC249564EBE7DFBE8E1E5799CC2EFFFEA6C6F65CCA85D1E8DEE02E155FB51BE7227D25C3A563AD6B9F639CEDC156FCB5D6050DE6B671D56E9613CCC797F0F7BEBD2415712C0D0FB5FDA20F3AEBD5DA6EE806000397CA2DFD17A86F419D56D494AF8AA289E1F10A26E2138E374F2FB3F5D41B1C914B7CC30D011BE30A0A8212CBD4096098FBF400EECECC7A73EF0EEC4E44ADEBA78651665E59975495D3E270415E75575ED98D37ABABC29DA74D6762EDE430414F2BEC4BAFD7CFCCDB849406C76DE31A1EF84DE932F30416B473027A823DC9467A709004BDAAF764B80753D7EE71CFB98A1B9FC2CA57158D651721056BC7C981A70C0E4AFAF435CD5910FAB5906022A8D02D8F7139ECF45A2F2AD160BD0D227EC5C979F86AFB0866E08CDD333DB897FE0BFCC5F2E7298FFB3C19B9C5BDB7624D63BF99BF7DF4C3E0E7C71012B2DFBDC69278FF13E10C24962E345BA5786DB6C70F9E6AC7204397ED1067ADE169668D1646A689F271122EE7F2BD0D2743DE1D5EDB86098AE15CA345A320E0D10F01BD1B2065905AB8527810B161EB97DC07C3FB90662559ADBCC2A82F660EC7FA6860F949D2CF57CAEFC7EFDFCB21E213DA6EAEA8590914A3E3462EC8C6847E33913FEAEE09EABF08B5C636838C1D0B3A8CDD3DF46629480AB2A98EC796FE290DCDD0569FF9C25E125F0C8DC2DD96785E48A985DE739F30A818BE6C4E641099D902D11BEAEA352605A8832FEECAB5E20ADDDEE6AF84E626D305565577FA06910D81788E69AA01C7D339A4E0C5045D8D1FCD7A9CF6B87E5371B9112F83F5457474659BD7AC6090DEA2836CA2D96351E3DBDEBDB46AD206E8EA27B60DB4466D6E42521B0AD4626B93F15DFADB56DFA5F26F055B439782E2DC9520B55D77CC6E2B9652F9AB8E8412E7AA7B25F42F0CCD3E74D22BA3B95416790F7B6E08CA2C166D0D887D5F8E2E1E6AD6D5D3AA7737BBBD5211518B85E9D2E2AC8B0CA75B913243DC37D317E13051C95152F054B075BE6022FCD19CB1DCB469F1E14B81EBBF4061035655BD2D1EEE3F7E95576689B32BA77E836689F6D7BF8BF351F3AB25831EE5878C730950A6C5B1FE2E13EF842AB5496762A68262B64BCCBBEB961534BE8B2B06AB7C3EBC56D8B2A8A42C853AF960EC09FA8300BE4442B6CD624AD118B35AD4A1735529236DADD83D84F9EA4CE5D8B71B32919321F51F28EDAAB9751E8E19A963C2BE1E27DF10768C79C44F14D22465ECEA7FF417644F7A5E3D775C71D66961A07D65979A8225E054F075939E64C771E5D02AF1AFB8B00EA86EC603D5235A1F64FB07AE490D4E117A4C6895AAE1A28714B58967D15529841564B86D9B88664026C857826F400F1D9E297BA71EFFAC60BE03F1630FE0BB51BD6C3CB35E32DEE8DF966985C041D158E18C0B6D5D7B40404F36CE22F51DC7FD7172C6831F22BF36B48BE2F86E1A73A78C619FF7E3958F8F9DFCB01CD37598E01D5FBC8406E9D460C7AB1D7453E2BE295BC3DFD42588CCD6BEAEB9DE43FA8230CECB5B6809623ED8711B7E88B5F118B15FD54224EA8DFA7686F5834B6BD4C9E784FDA31F5F1F908E30F718DE50F20A9A3CBF1EC1873DB6C15BA93CFD73B4275FC92F5753F1C333A3B29897B0894A2C4CB97C35A42CB6AF139525B123B07829986E7977B2F3A222291C06CE85A43D31BEB321A9EA13E4F415358977266473B62260124932D50CEFD80F309423DD3926F53628D54BC6B4C82248FF868BA4DC933FC7C75CCBA6EB98E911FEF0B2716C96FC7CAE55F3C7EB5D9A43799A7B40910717A207449F501443072BBEDE34BEBC96435440B4B75340C2FEA0D05317A1F1D68CF50AC3A08DE2465DEDC32A773F353116FD87146F272BDF240E57CDF643824CA4754D740B9DBEA747CF2544E9CFFBA90D0EDCCB72BAF0757A24B66F1AD3F6D18CE1E865B73C199E2B32B6162B79644E27C76B62CC24E0C3C34642B44A2925BEE3F9F270B1E7F885B8054A517969F4E1E7F6222BE58B8C5605D4C7626B0CF83B6D7A1AB15D1E1AEA30EA1C527A96BB85437B46CDA1621BD494C3B4DFB2C05E1F76A3722E787FD2E8F95417BC0E31D4E56DB1CFC7F6C695DE9C7D0FD37FFFD9444D882F0F6D7BA2523DFC95757E10AC40F20F24B249AB38B8B1C744E8788B52186F7345DF92641CBA05B346C66BC2E41C0F0D5DA4D55C1CF35F12AA74F94B2D40380A18D6EA34CF4BE55343A6FD92296C3E9FA3BE251C23DB6303337A3E55E7F49169187035B389D33DBDAA407DE1897F56B8EDF91BD7A54F2311A59E539231F4244A39E643F6BDF5D0C2FC812595CA92EC46155F51FBD166C257E2134CB0879EEE25F91AF79C4E4258FD3405A36F1296A213B90D4B01AD2A4432533D4FE3C58E4AED0181F79CF335BC52FE5C8CBFCB67ED28D85EE27A6B04F51AE5E92C373E49ADFB30D51FA7F3698532ADD4B85C34AAEA338AB18C5D8C7A1F380FAD1D8D5DE5F98EBE4B9851B2FB58BB71C73543A44C3A17E9380F1D0E8BC9A7AC7B91B62030E4CE0B014BBF1AB3613EF0CE154422FAC4F15E974D4A8C7A4AA4318FE2A107DE38B6AD9A3E2F8CE2DB8910626A3862A7516B6DB540C973C129E615BA1D8C8522EE40BB3A216D6A37FBAD8C3CFFD25CDA767F55E4DEE1E56875D82ED23441EB85BED39B26EACF242EFA52BC4FA3AD0FC56B2E573EEB7DC241CB5C1C2D7FCE1F95B4749A7EB2FD25C6A6D52FE731A3DC4D2FE0A2D9EE5DA9F8459B2BB384F7179F3959D46524758252D7F1425F18ADA49883CD6E5751A40554D4C360A2023DAB2C09D2ACA86F3BD8157B8D17EFDE0879600B13A6EDCE9FB87AB5F1C7BDCCB9BE8A3A8C77865DD52AE50C33DFE840BF2A6E28492A6BBA2C427ACA378112327D6271D3CE74937CE079C45A35F47A2CF88713A0625F183054C235F583BC783DE7CE85AF75C1A2A71A34533CED81A904A7C1282D6A6E12FF39CE00D7711478B8789A998D7356F122F51EF0E25013E6E50EFBE2C680E82CEE30264B73CFA97B3C21CB2A5A9C68F4F40C8A8AF00B165B58BCBEA88FB650840EB69FB244C9F9341BA21AE96E41510539261B18878B75A5432D25BB3AAFEECE092D97A631E6171DE02915DBC9E9BFF89D7A677A991BB1F09050323AA80263FC51D60921E64A9DAB4049F165C9BFE8D6B5E9371766082BE54FC2EAA373765FAE91B66B7BA3AE87929DFEB46CD4F6550DEBB3F3C6F9D77306FA673ECF8FF2AD4050C5CD7567797F8EEBE3BD0C7B5256543575272B8EA4455E0C582F44DA1A0D7E213F9D0ED22E67ACE8A50572BDF88AB1EE5F4CEC9EF1D969A28A1421DC8B037AD0E653C3E631795342D1BBBDD742A9D30A0BE519A6F03107CC83F37D0BD922ED8ED35352036AC44DDC0D90C6DAE9C719A49014CBCBB7BED7E33BD642579CB31BD71CB0A3091E2D9305B137FAD2853A602EA9A7BCB2DF2C818AA427CB8B9823E2F0C6F2A453F3F031D68B5A5B383A2A6162633BAD11D94975A1D0A77B04A104CB4E673B51D3756D8B18525970BEE3833E53CD9B726E5F788BA16628373222955088C3C2246D2EF69A37B4D0C49E544EC15E6A09C3F4A830C9788C8369476AB62448B5150AFEEC9A556948779B34BB8B7C4B0CDDEDE3AC1AB336D322F9B1FF707AB1325C608685BA308BAE6E164E0B45BABA9AAD53C3EE31F4098390E63AA83157664C132D19D215DF1DA666BED25076335A6597526D91B57603C2F5BCB6F7473E4D4ED61BEEB071348C47D9A6806D1ECCCD7C26602AD94A165080B8DEEA3B8B479CFE593767E69D2ED932BB0DC569BCF84E9918550AEA319A7CB574349B3C9AB9AE78E2821669D8096BD7D1AFD3A3BB07A86D92A68F40ACCD07462CE23720BDB0E4718D15892D930E1C135B53A4AD622B7721A946067A6B6C58A9F3CE00F6986F7060BEA01DF49E3E5D66214B8E01FE58F48C0FA4D9CECC5ED1CA533DDCD576A06385D7F3265AA66A38B27A0F80075C70728AFED9356BEDD3282BCD90138392957AEC900E8A473B37C23F569ED9C8C534DF88F13C2751FEB27E445C7B97CA35FE75ABFFD1319FE935F14CE479E1B610A3561D7465B259D1C9A7183BDDA282FA4CB55E6F6F3F6641AC3E0A60BE78DD5D60EC9DA852516055FBCBEEBA452748A23576ED40CA7D661E6C9252580BE92A456B5FAE38C98EE733789C6F18D7001D4C0C79DB61F58C505884C34B31B3732C9EBE81D22AE40896DFC03C2B0EE6673C8D94DF83E5FBEF048B41A97E6A0EE6E90A35AF65326BC629266A563B90ACB06D3B628F3BFFD2165516C5785E90126DF305F2A8B64FC5BFCDBC72DCB93FA1F85504DE5E1EF109BC31ECA7BFE6B919265DCFD0A9C87C985DECB354BDB2DD4BF0AD1E0E6C09DC454173CF9DE20467604AF50E0EBE8C630BB7D729812B26B7BD6F9AEA26DC3B4B79DBC97D1A1F135A6C417E5FF7509348C7DAE6AA7F938C8D91351A372A53B2EEBF2FCB456A0EAF9A5A7A451699E2A607FCC88CEC8D4FB0FEF4025DA0A48A7A77079705B678A671299EF5EFDB8179397F9EB887B0D22CE49637919499E95E992DD13A04155976FEBE68BAB2F2D3F38BACC48F9B72ED358C13CCEA7069FB48F345E47A312FEA15FA43E664BA02574F922DE4C897E2682F97D1FE27CED4778FBB9EF900478874FFAE31B1EFA3EED9BDB5CE322F6B2EBA5387180802052A7D7CA77162A64AD1B2C661B03F59F3B0E46718280946A74548F98C40CE135A9647329EB3AB41F3AB99943167649C16C527B866B31EBF8A4E9FD12238FB70D4A9CF2966BD2E72D31B0F5FB6B2784878ED6E191358F7E92D3A51E775586BEC94DE1E609E29D368715FA13F763ED05AB853182FB6796A8B58B8F873AEA32109A5F4EAD2F6EA7278D65A7CA5220EEFF13E70D6A1DA05617313D23F2F530673EA257D216419787B168D69FBD6D3AFEACBBE9715D6CD51E7EC3F5624E93C499667121AEE43DAB87D3E4F9C6A24F96A0617DFEFD2A5ACE89D6B10400920B195C374E2F26E92213D2C8B59BB3D68C618F3C6D8FD65D636439F3C6611FE2D79E5937096FB2409B4632DAF2396D4A1E7ABC93B1FA36F87A0F04FC73CE34223F4D1924A462737A934A33AA59EC58D7971ABB5C1A14D7FADCF3BB5038288F075F9FCF8089EE28A9166FE4398AA98C1D56205A8FBF0B4D6B210F3533578F948D23A3F53E91857997E17787E5CE2579F0F75C3049D1307873C62DC9D82DB26C6D53A3926118287DB4AE09423A8E3F1725BB61E57B2515E58DFD2E07938D6D3BCEB67975371EA2457F79791E1F217CDB788A7304EF4F37DCC8F13E427A4E900FBBEC2A654CC46FDC66DF4930F6D5F87C968D132F4319D0C991459B3E2A73D287410E4A16D99E2ED5154D11F18033151FF65E3A687E05EF742C39DB25D8A48C60992B32DEF88418A3AFADDCF0E2A6A9DD04FAFE5E2772A148D3FACC9472FF2B99BF6589496A9217F8E36112C984428EE4E1A27565916D9B50DF49CEA765567ECCABE3F2B9EA99E3D99A2F561FBA082A10C373C4B7BD90E7C690FB033CD155630CA67BC998798B0BEC54CB48885E920D683EBF67997273849323A7BBA4FAE356B2D234A7A027BDFCA31870F2288D90306883C6A16C9875A839A372946551B94F3BBDB7D8F404A124A2698A4FE2C24C8F6386F44C61654EBE9F32A345BA3BDA05BCFA374610DF637193E7ABE343BB584D56C33A12DC3E48FC774C8AD8AE0984DB2ED2B2F4D018BFB95BCFE7B409D5DD726D9F5F41D52FA4E3357F67DBDD2F4FAB9AFE3F9C9758CADE4C5F5E227665D92B1C253EAE861279F4377F5E4E3E679DA9AC5FBF5A6328F89C7280FB34D92D51F68224FA9DDB7101BDA9DA726CFD1DC2FF37418DB191923DFBE6C6DB4C3C918B317E0D079D2F9C7742C956CD41F6D0A0DD4B097FDEA56331C933D5DCE002AA5276C1A82C4F19E330478A740E58DD1014D85AF621172DDDFBF45D5BFDDA9F0D56BB434F79FDEB8E675A54D7FF6A3D38C5C2B9E42637E0CF51E25930B96A32594F1C9FD3A684BFF85AD4B2AC561988CCDA77FBDC38CAE78E179C330F376E9C76661B723A6C65FA62ED9D7C719257CE630207165585F0ACB6083AE58F1E15C37B6BB37F244A414670D5E5FFA898EB937ADAD735776F0EA3BC3D83E09534B03FD6F1310A3E1BC946B445C02E78508AA38DC6F0F70B091B019853E53E2BBFC22280BC5E622CE8ECF6B212511B73688E7C676C917A4202FD004253CFBDDE555F2D40E5EF523CF1F582BB1B06E65F304FDC5AB7F5ED622CAFBA8F7ECAA6B5E31BB7F2EB32263FD85E25F61E270D4EC66AFCFC077A1C22788C2EE3B01090622D77C9BC3A8259B3D8BF1E5184C4DB17CEAED5A14F9A7BC70E4833B4D16470F8DD626FA0AABFB234ACC4BB8CD13956B36FB3F48ABC3056CA5D2E05161E0D65D50DA752F3DF5F71DA06AC263AB82F2688386825B47F7809B49EDA488C78FE637EDFC5FD234E662E269D9FA13BB7257362244131634CEF3B80CF457289EFDD95238786F0F987214793D6764647C786FE8DF0012A7528D]
Point(doBitmap)
link(onBitmap,2881753:doLoad,[])
}
Add(Random,5598376,490,357)
{
Min=1
Max=3
link(onRandom,463022:doEvent1,[])
}
Add(Hub,10371986,504,168)
{
OutCount=4
link(onEvent1,4111928:doBitmap,[])
link(onEvent2,133470:In,[])
link(onEvent3,16686061:In,[])
link(onEvent4,515345:In,[])
}
Add(LineBreak,5627099,434,364)
{
link(Out,5598376:doRandomize,[])
Primary=[133470,105,-189]
}
Add(Random,1695459,490,399)
{
Min=1
Max=3
link(onRandom,10302982:doEvent1,[])
}
Add(LineBreak,2579347,434,406)
{
link(Out,1695459:doRandomize,[])
Primary=[16686061,105,-224]
}
Add(Label,8139285,616,308)
{
Left=215
Top=10
Width=110
Caption="Скорости X, Y"
AutoSize=1
Alignment=2
}
Add(Label,7662577,616,357)
{
Left=215
Top=30
Width=30
Height=17
Caption=""
AutoSize=1
}
Add(Label,1914069,616,399)
{
Left=300
Top=30
Width=30
Height=17
Caption=""
AutoSize=1
}
Add(Hub,12713872,392,357)
{
InCount=5
link(onEvent1,5598376:doRandom,[])
link(onEvent2,1695459:doRandom,[(428,370)(428,405)])
}
Add(Timer,7653745,98,378)
{
Interval=60
link(onTimer,13960540:doEvent1,[])
}
Add(Memory,5536458,567,539)
{
Default=Integer(-97)
}
Add(Memory,9799771,567,875)
{
Default=Integer(-63)
}
Add(Memory,11341398,574,679)
{
Default=Integer(-3)
}
Add(Memory,7898866,574,1015)
{
Default=Integer(-3)
}
Add(PointHint,8648574,602,539)
{
Info=#5:Min X|
Width=36
}
Add(PointHint,3840209,602,875)
{
Info=#5:Min Y|
Width=36
}
Add(PointHint,3086514,609,679)
{
Info=#5:Max X|
Width=36
}
Add(PointHint,14062347,609,1015)
{
Info=#5:Max Y|
Width=36
}
Add(IndexToChanel,638304,385,623)
{
Point(Index)
link(onEvent1,6438888:doOperation,[])
link(onEvent2,15939892:doOperation,[(447,636)(447,783)])
link(Index,13548117:Var,[])
}
Add(Math,6438888,469,623)
{
OpType=1
ResultType=0
link(onResult,12123882:doEvent1,[])
link(Op1,1885925:Var2,[])
link(Op2,8311816:Var,[(482,613)(489,613)])
}
Add(Math,15939892,476,777)
{
ResultType=0
link(onResult,6256981:doEvent1,[])
link(Op1,1374094:Var1,[(482,725)])
link(Op2,15891208:Var,[(489,767)(496,767)])
}
Add(GetDataEx,1885925,469,574)
{
link(Data,14288331:Var,[])
}
Add(Hub,9095005,777,623)
{
InCount=2
OutCount=1
link(onEvent1,14288331:doValue,[(797,629)(797,531)(459,531)(459,552)])
}
Add(GlobalVar,14288331,469,546)
{
Name="X"
Data=Integer(0)
link(onValue,7598146:doText,[(509,552)(509,545)])
}
Add(GlobalVar,13548117,385,588)
{
Name="ActX"
Data=Integer(0)
}
Add(Hub,12123882,532,623)
{
link(onEvent1,9095005:doEvent1,[])
link(onEvent2,1896687:doCompare,[(553,636)(553,643)])
}
Add(Hub,6256981,532,777)
{
link(onEvent1,9095005:doEvent2,[(761,783)(761,636)])
link(onEvent2,5604033:doCompare,[(556,790)(556,797)])
}
Add(If_else,1896687,560,637)
{
Type=1
link(onTrue,7415376:doData,[])
link(Op1,6914082:Var3,[(566,579)])
link(Op2,5536458:Value,[])
}
Add(GlobalVar,7452804,658,637)
{
Name="ActX"
Data=Integer(0)
link(onValue,6287617:In,[])
}
Add(DoData,7415376,609,637)
{
Data=Integer(1)
link(onEventData,7452804:doValue,[])
}
Add(If_else,5604033,567,791)
{
Type=2
link(onTrue,8536561:doData,[])
link(Op1,1374094:Var3,[(573,725)])
link(Op2,11341398:Value,[])
}
Add(GlobalVar,8861243,665,791)
{
Name="ActX"
Data=Integer(0)
link(onValue,13061619:In,[])
}
Add(DoData,8536561,616,791)
{
Data=Integer(0)
link(onEventData,8861243:doValue,[])
}
Add(GetDataEx,6914082,518,574)
{
Angle=3
link(Data,1885925:Var3,[])
}
Add(GlobalVar,15620426,392,217)
{
Name="X"
Data=Integer(0)
}
Add(GetDataEx,1374094,518,720)
{
link(Data,6914082:Var2,[])
}
Add(GlobalVar,8311816,483,588)
{
Name="RX"
}
Add(GlobalVar,15891208,490,742)
{
Name="RX"
}
Add(GlobalVar,6567014,567,364)
{
Name="RX"
}
Add(Hub,463022,539,357)
{
link(onEvent1,7662577:doText,[])
link(onEvent2,6567014:doValue,[])
}
Add(IndexToChanel,10885182,385,959)
{
Point(Index)
link(onEvent1,10569586:doOperation,[])
link(onEvent2,4285654:doOperation,[(447,972)(447,1119)])
link(Index,5553254:Var,[])
}
Add(Math,10569586,469,959)
{
OpType=1
ResultType=0
link(onResult,8160256:doEvent1,[])
link(Op1,9600702:Var2,[])
link(Op2,9523260:Var,[(482,949)(489,949)])
}
Add(Math,4285654,476,1113)
{
ResultType=0
link(onResult,449158:doEvent1,[])
link(Op1,11968935:Var1,[(482,1061)])
link(Op2,4936073:Var,[(489,1103)(496,1103)])
}
Add(GetDataEx,9600702,469,910)
{
link(Data,1934955:Var,[])
}
Add(Hub,5272333,777,959)
{
InCount=2
OutCount=1
link(onEvent1,1934955:doValue,[(797,965)(797,867)(459,867)(459,888)])
}
Add(GlobalVar,1934955,469,882)
{
Name="Y"
Data=Integer(0)
link(onValue,3501836:doText,[(505,888)(505,881)])
}
Add(GlobalVar,5553254,385,924)
{
Name="ActY"
Data=Integer(0)
}
Add(Hub,8160256,532,959)
{
link(onEvent1,5272333:doEvent1,[])
link(onEvent2,11521464:doCompare,[(553,972)(553,979)])
}
Add(Hub,449158,532,1113)
{
link(onEvent1,5272333:doEvent2,[(764,1119)(764,972)])
link(onEvent2,10273189:doCompare,[(556,1126)(556,1133)])
}
Add(If_else,11521464,560,973)
{
Type=1
link(onTrue,11705187:doData,[])
link(Op1,16595443:Var3,[(566,915)])
link(Op2,9799771:Value,[])
}
Add(GlobalVar,12266135,658,973)
{
Name="ActY"
Data=Integer(0)
link(onValue,12600960:In,[])
}
Add(DoData,11705187,609,973)
{
Data=Integer(1)
link(onEventData,12266135:doValue,[])
}
Add(If_else,10273189,567,1127)
{
Type=2
link(onTrue,8276483:doData,[])
link(Op1,11968935:Var3,[(573,1061)])
link(Op2,7898866:Value,[])
}
Add(GlobalVar,10701892,665,1127)
{
Name="ActY"
Data=Integer(0)
link(onValue,8152996:In,[])
}
Add(DoData,8276483,616,1127)
{
Data=Integer(0)
link(onEventData,10701892:doValue,[])
}
Add(GetDataEx,16595443,518,910)
{
Angle=3
link(Data,9600702:Var3,[])
}
Add(GetDataEx,11968935,518,1056)
{
link(Data,16595443:Var2,[])
}
Add(GlobalVar,9523260,483,924)
{
Name="RY"
}
Add(GlobalVar,4936073,490,1078)
{
Name="RY"
}
Add(GlobalVar,15196669,567,406)
{
Name="RY"
}
Add(Hub,10302982,539,399)
{
link(onEvent1,1914069:doText,[])
link(onEvent2,15196669:doValue,[])
}
Add(Label,7435018,665,308)
{
Left=215
Top=50
Width=110
Caption="Положение X, Y"
AutoSize=1
Alignment=2
}
Add(Label,7598146,518,539)
{
Left=215
Top=70
Width=30
Height=17
Caption=""
AutoSize=1
}
Add(Label,3501836,511,875)
{
Left=300
Top=70
Width=30
Height=17
Caption=""
AutoSize=1
}
Add(GlobalVar,11729024,399,231)
{
Name="Y"
Data=Integer(0)
}
Add(Hub,13960540,147,378)
{
OutCount=3
link(onEvent1,13068684:In,[])
link(onEvent2,14520866:In,[])
link(onEvent3,6845663:In,[])
}
Add(LineBreak,9282028,329,623)
{
link(Out,638304:doEvent,[])
Primary=[13068684,-154,-245]
}
Add(LineBreak,12172061,329,357)
{
link(Out,12713872:doEvent1,[])
Primary=[515345,210,-168]
}
Add(LineBreak,15723689,329,364)
{
link(Out,12713872:doEvent2,[])
Primary=[6287617,385,273]
}
Add(LineBreak,10459002,329,371)
{
link(Out,12713872:doEvent3,[])
Primary=[13061619,392,420]
}
Add(LineBreak,12025488,329,378)
{
link(Out,12713872:doEvent4,[])
Primary=[12600960,392,595]
}
Add(LineBreak,13506782,329,385)
{
link(Out,12713872:doEvent5,[])
Primary=[8152996,399,742]
}
Add(LineBreak,3969067,336,959)
{
link(Out,10885182:doEvent,[])
Primary=[14520866,-161,-574]
}
Add(LineBreak,16033012,329,154)
{
link(Out,16084042:doRefresh,[])
Primary=[6845663,-154,238]
}


Я буду очень благодарен, если кто-то поможет, или хотя бы ткнет в подобный скрипт.

P.S. По задумке картинка мегапикселя на 4, и плавать должно даже на FullHD мониторах.

Если это пи... как сложно, то можно без рендомной скорости.

Редактировалось 3 раз(а), последний 2017-06-28 10:58:36
карма: 0

0
vip
#1.1контекстная реклама от партнеров
Ответов: 8296
Рейтинг: 774
#2: 2017-06-28 11:37:17 ЛС | профиль | цитата
SkyPrinceRus, отскок картинки от границ не очень (на мой вкус) смотрится Что-нибудь попроще и плавно, а формул можно напридумывать сколь угодно и со всякими траекториями:
sin/cos


Add(MainForm,15075896,224,196)
{
Width=345
Height=144
Caption="Пример использования Img_Bmp"
Position=1
link(onCreate,4111928:doBitmap,[])
}
Add(PaintBox,16084042,399,126)
{
Width=200
Height=100
link(onBeforeDraw,7075259:doDraw,[(438,132)(438,167)(389,167)(389,202)])
}
Add(Bitmap,2881753,322,196)
{
}
Add(Img_Bmp,7075259,399,196)
{
X=-100
Point(X)
Point(Y)
link(Bitmap,16084042:Bitmap,[])
link(SourceBitmap,2881753:Bitmap,[(412,187)(384,187)(384,236)(328,236)])
link(X,4383299:Result,[(419,180)(321,180)])
link(Y,9446608:Result,[(426,173)(363,173)])
}
Add(Jpeg,4111928,273,196)
{
Jpeg=[ZIP9D1A000078DAAD97775413DBBFC507101014BD54155194A67429A1485141BAB4240409284208905024848ECAB5A012E9104A10949A46314080D02C972E88F48E0212E98AF4A2BCE0FDBD77FF786FAD57D6DB3367E6933367CED9FB3B59B3D6EC0DEE7D06FE3037363306D8D8D80053D606EC4D009E4621287700B0B404E4000038081C6013053859C4C66AFA6C27FF838DD9CE031CBF999D7550D93F02FCAC6605FC2DD37F8DFB7DF67341F90628F92203CEA82B5D5052B9C05A69925DCBCCD0D0D9066C6D6C76CD88650100D8CF5FB96A60C4FE0700F8F806F8834D0CCE5C77809FE1EE04B87EAFC4920B02EB77C5C6E6DA3EFBDEF64502FF49EBFDBF57057A14F7E702FE77E245F8F907B0CEBBACA6EA86C42258D6595E01B7E0003F563F5B328B855CBD7E33699FFDA1604316D7B2F888C7DFDCBECFAE7FF3E83EFBB342B078617FBCC76FDE2F156B9EBF59689F039021FBEB0286B7FD42FD511E9E016754B4B5B5CF5C71BBED8A3C0309C506207DB067CC7C11B7FDFD6EFBBB0420DDF64DFDF6F7B7EF2B7E7EDEC833AC8A01FFBFDAAFFFDFB462FBBBAE6C22EDFFF4FD2344A07FD0BF908DADE3BFFFFDCF1CA1750070050C000718FFF4C13601A05019004E71FCD32723010002110040F3DB1B010C017636B6FDFD5FE2E0E4D817D781031C9CDC5CDCDCFBED20CF219E8307790F7273F3F2F1F21E3ACC1237CF91A37C878FECF3FE24FBB7EFDFC5DA0F1FE43E78F87FADBD3700FF4180CCA6C0C12601B0F3B371F0B3ED3500E2AC8C9C6CBFF5EFE56163E738C0C9C5B2C47B883580FE07CB3E07073BCB2CE78103ACAB7759D78103FC9C026755AE7009DABA704B608454EF27641F9434A0BD1506777D975273F57FC0C32B72ECF80951699973E765E5D4411A9A5ADA170DAF1A199B989A9943A076307B56B1106E48770F4F141A1B1018141C121AF6F051E4E3274FA3708949C9F894D4B474424E6E5E7E019144A6949695D32B2AAB18D5EFFE6A686C6A6E696DEBEEE9EDEB1F181C1A9E989CFA32CDFC3A333BB7FC6365756D7D63736B7B3F171BC0C1F6EFFA2F73F1B372B1B39EC101EEFD5C6CECC1FB03F80F709E55E112B862CBED82119450BD7F50C820219BF69647520DFC5DD8D5BF8B57444A7D427A793FDAEF64FFB3600FFE4FC9FE23D83FB98681C31CAC57183F073F7009D8DEDA557DEA3F92D647F57201782942E1BCE3553D2ABB32D937745376AA4ACAF15E4B1197CD8B366447B2BD6191254B73EBA913A1CA421A175E9BD3C227188A2E6DEBC50EB067415A5F9F3EC0E3BA688871E213AC6891AFC30073DE5E31579B1C2634841E52896516358B0B1FE6BD42C5BC9461B8B54B353750AAC88F46D0205C6A6B2BB3CCED92AA2DB651AEBD6333BCDB844BAEAF2821B382B407CC435BF3C9CFF3124F9C54C3551E08A11ECA314DF8DA9D71B4A5D1F131BCB1D71A21EE99FF6A736A9D1A54FD70284B9BF2CB5DD67673FEFAFB1BAD89F5D335315616B4E85B10172B3990776F57859C684553504503ED2184F219CABB2934A50C52684DEA71FA0281DDE979E8BB4AA6715CBE15D261DA633A1FD39414783E49E8CF00CCA2B0CC229DC3C947FD2F6D170B7C69A80392387CB187231574D03794189A2606997EE59F24EF2334A13147A1742E42CEF398C81D01FB0CBDC4DA52DD9F3B0B6BF04B448BF2BC21C1BD79A33B3B67AD93EF14564935024B941C2BD4A47730B14D2C7FD0AD959A50F9DE0163F1404FEE0B1629AF7D35FDEAB21789FFD87D8754A504D1A0DC42EC26EC486EA1ECBC44F35A0925525BAF93127D622C24A24163F97AA13754F8330454C26FB02C0C4991C47DF661A2ACA6AB142E0D35DEC07907EFCE6BBBB8E6B7632D788EF822E047335F8BD6F0F344135A2A6B0F390E9FC6FFCCBFCD54E94413E2F03722ED5B8A79828FEF74C052DCF4F88EDD138F91D0B17F39EFE0A77379E1D1F7025A0C9116A94D5EF0CE7FD74BF503768A6C37DDBBF50C82568E8ECDE879E5FD6A8A812CE1DEE51B1D6BF380973EA43D487D167DB48DAEAB4629142CAD34D685B9935D2B06105E817372D24FBC3C82D5CDE56C798CAC34749A6A627277DABC382055B0FA9F9F5C5A0B1BAA337C3FA9D0BA0BE815848874E8D480F0A3F324F450F479924E05DCAC140D4DA4EAFAC36FB5D0252C1312ECDCD6D5BB16E06668A35442416912F8F19BC22D538C6254C721EC37BBCFC68C64E3D78DF094EDD37D5F8B3C6472199166C652FC16B53BD0F74A9C8618F77EC8D1A54A21720B5924C629CD1C336FB96256104B3FE384E311B5F2E4E0CA1214FA9C968F713272EA7DF6F4038A7DD922BE0E25A09CE69C7FDE198ECA60CF4974F53C2490FE2769FC9B30CC312BACF7ECFB2CBAB94C17B12F95EF2D76DEDAF80D652E08672B33470D3A02BDAE0A49A8142D2E85F4CD1926570ABAF5CD38E0600126C281629CCC249564EBE7DFBE8E1E5799CC2EFFFEA6C6F65CCA85D1E8DEE02E155FB51BE7227D25C3A563AD6B9F639CEDC156FCB5D6050DE6B671D56E9613CCC797F0F7BEBD2415712C0D0FB5FDA20F3AEBD5DA6EE806000397CA2DFD17A86F419D56D494AF8AA289E1F10A26E2138E374F2FB3F5D41B1C914B7CC30D011BE30A0A8212CBD4096098FBF400EECECC7A73EF0EEC4E44ADEBA78651665E59975495D3E270415E75575ED98D37ABABC29DA74D6762EDE430414F2BEC4BAFD7CFCCDB849406C76DE31A1EF84DE932F30416B473027A823DC9467A709004BDAAF764B80753D7EE71CFB98A1B9FC2CA57158D651721056BC7C981A70C0E4AFAF435CD5910FAB5906022A8D02D8F7139ECF45A2F2AD160BD0D227EC5C979F86AFB0866E08CDD333DB897FE0BFCC5F2E7298FFB3C19B9C5BDB7624D63BF99BF7DF4C3E0E7C71012B2DFBDC69278FF13E10C24962E345BA5786DB6C70F9E6AC7204397ED1067ADE169668D1646A689F271122EE7F2BD0D2743DE1D5EDB86098AE15CA345A320E0D10F01BD1B2065905AB8527810B161EB97DC07C3FB90662559ADBCC2A82F660EC7FA6860F949D2CF57CAEFC7EFDFCB21E213DA6EAEA8590914A3E3462EC8C6847E33913FEAEE09EABF08B5C636838C1D0B3A8CDD3DF46629480AB2A98EC796FE290DCDD0569FF9C25E125F0C8DC2DD96785E48A985DE739F30A818BE6C4E641099D902D11BEAEA352605A8832FEECAB5E20ADDDEE6AF84E626D305565577FA06910D81788E69AA01C7D339A4E0C5045D8D1FCD7A9CF6B87E5371B9112F83F5457474659BD7AC6090DEA2836CA2D96351E3DBDEBDB46AD206E8EA27B60DB4466D6E42521B0AD4626B93F15DFADB56DFA5F26F055B439782E2DC9520B55D77CC6E2B9652F9AB8E8412E7AA7B25F42F0CCD3E74D22BA3B95416790F7B6E08CA2C166D0D887D5F8E2E1E6AD6D5D3AA7737BBBD5211518B85E9D2E2AC8B0CA75B913243DC37D317E13051C95152F054B075BE6022FCD19CB1DCB469F1E14B81EBBF4061035655BD2D1EEE3F7E95576689B32BA77E836689F6D7BF8BF351F3AB25831EE5878C730950A6C5B1FE2E13EF842AB5496762A68262B64BCCBBEB961534BE8B2B06AB7C3EBC56D8B2A8A42C853AF960EC09FA8300BE4442B6CD624AD118B35AD4A1735529236DADD83D84F9EA4CE5D8B71B32919321F51F28EDAAB9751E8E19A963C2BE1E27DF10768C79C44F14D22465ECEA7FF417644F7A5E3D775C71D66961A07D65979A8225E054F075939E64C771E5D02AF1AFB8B00EA86EC603D5235A1F64FB07AE490D4E117A4C6895AAE1A28714B58967D15529841564B86D9B88664026C857826F400F1D9E297BA71EFFAC60BE03F1630FE0BB51BD6C3CB35E32DEE8DF966985C041D158E18C0B6D5D7B40404F36CE22F51DC7FD7172C6831F22BF36B48BE2F86E1A73A78C619FF7E3958F8F9DFCB01CD37598E01D5FBC8406E9D460C7AB1D7453E2BE295BC3DFD42588CCD6BEAEB9DE43FA8230CECB5B6809623ED8711B7E88B5F118B15FD54224EA8DFA7686F5834B6BD4C9E784FDA31F5F1F908E30F718DE50F20A9A3CBF1EC1873DB6C15BA93CFD73B4275FC92F5753F1C333A3B29897B0894A2C4CB97C35A42CB6AF139525B123B07829986E7977B2F3A222291C06CE85A43D31BEB321A9EA13E4F415358977266473B62260124932D50CEFD80F309423DD3926F53628D54BC6B4C82248FF868BA4DC933FC7C75CCBA6EB98E911FEF0B2716C96FC7CAE55F3C7EB5D9A43799A7B40910717A207449F501443072BBEDE34BEBC96435440B4B75340C2FEA0D05317A1F1D68CF50AC3A08DE2465DEDC32A773F353116FD87146F272BDF240E57CDF643824CA4754D740B9DBEA747CF2544E9CFFBA90D0EDCCB72BAF0757A24B66F1AD3F6D18CE1E865B73C199E2B32B6162B79644E27C76B62CC24E0C3C34642B44A2925BEE3F9F270B1E7F885B8054A517969F4E1E7F6222BE58B8C5605D4C7626B0CF83B6D7A1AB15D1E1AEA30EA1C527A96BB85437B46CDA1621BD494C3B4DFB2C05E1F76A3722E787FD2E8F95417BC0E31D4E56DB1CFC7F6C695DE9C7D0FD37FFFD9444D882F0F6D7BA2523DFC95757E10AC40F20F24B249AB38B8B1C744E8788B52186F7345DF92641CBA05B346C66BC2E41C0F0D5DA4D55C1CF35F12AA74F94B2D40380A18D6EA34CF4BE55343A6FD92296C3E9FA3BE251C23DB6303337A3E55E7F49169187035B389D33DBDAA407DE1897F56B8EDF91BD7A54F2311A59E539231F4244A39E643F6BDF5D0C2FC812595CA92EC46155F51FBD166C257E2134CB0879EEE25F91AF79C4E4258FD3405A36F1296A213B90D4B01AD2A4432533D4FE3C58E4AED0181F79CF335BC52FE5C8CBFCB67ED28D85EE27A6B04F51AE5E92C373E49ADFB30D51FA7F3698532ADD4B85C34AAEA338AB18C5D8C7A1F380FAD1D8D5DE5F98EBE4B9851B2FB58BB71C73543A44C3A17E9380F1D0E8BC9A7AC7B91B62030E4CE0B014BBF1AB3613EF0CE154422FAC4F15E974D4A8C7A4AA4318FE2A107DE38B6AD9A3E2F8CE2DB8910626A3862A7516B6DB540C973C129E615BA1D8C8522EE40BB3A216D6A37FBAD8C3CFFD25CDA767F55E4DEE1E56875D82ED23441EB85BED39B26EACF242EFA52BC4FA3AD0FC56B2E573EEB7DC241CB5C1C2D7FCE1F95B4749A7EB2FD25C6A6D52FE731A3DC4D2FE0A2D9EE5DA9F8459B2BB384F7179F3959D46524758252D7F1425F18ADA49883CD6E5751A40554D4C360A2023DAB2C09D2ACA86F3BD8157B8D17EFDE0879600B13A6EDCE9FB87AB5F1C7BDCCB9BE8A3A8C77865DD52AE50C33DFE840BF2A6E28492A6BBA2C427ACA378112327D6271D3CE74937CE079C45A35F47A2CF88713A0625F183054C235F583BC783DE7CE85AF75C1A2A71A34533CED81A904A7C1282D6A6E12FF39CE00D7711478B8789A998D7356F122F51EF0E25013E6E50EFBE2C680E82CEE30264B73CFA97B3C21CB2A5A9C68F4F40C8A8AF00B165B58BCBEA88FB650840EB69FB244C9F9341BA21AE96E41510539261B18878B75A5432D25BB3AAFEECE092D97A631E6171DE02915DBC9E9BFF89D7A677A991BB1F09050323AA80263FC51D60921E64A9DAB4049F165C9BFE8D6B5E9371766082BE54FC2EAA373765FAE91B66B7BA3AE87929DFEB46CD4F6550DEBB3F3C6F9D77306FA673ECF8FF2AD4050C5CD7567797F8EEBE3BD0C7B5256543575272B8EA4455E0C582F44DA1A0D7E213F9D0ED22E67ACE8A50572BDF88AB1EE5F4CEC9EF1D969A28A1421DC8B037AD0E653C3E631795342D1BBBDD742A9D30A0BE519A6F03107CC83F37D0BD922ED8ED35352036AC44DDC0D90C6DAE9C719A49014CBCBB7BED7E33BD642579CB31BD71CB0A3091E2D9305B137FAD2853A602EA9A7BCB2DF2C818AA427CB8B9823E2F0C6F2A453F3F031D68B5A5B383A2A6162633BAD11D94975A1D0A77B04A104CB4E673B51D3756D8B18525970BEE3833E53CD9B726E5F788BA16628373222955088C3C2246D2EF69A37B4D0C49E544EC15E6A09C3F4A830C9788C8369476AB62448B5150AFEEC9A556948779B34BB8B7C4B0CDDEDE3AC1AB336D322F9B1FF707AB1325C608685BA308BAE6E164E0B45BABA9AAD53C3EE31F4098390E63AA83157664C132D19D215DF1DA666BED25076335A6597526D91B57603C2F5BCB6F7473E4D4ED61BEEB071348C47D9A6806D1ECCCD7C26602AD94A165080B8DEEA3B8B479CFE593767E69D2ED932BB0DC569BCF84E9918550AEA319A7CB574349B3C9AB9AE78E2821669D8096BD7D1AFD3A3BB07A86D92A68F40ACCD07462CE23720BDB0E4718D15892D930E1C135B53A4AD622B7721A946067A6B6C58A9F3CE00F6986F7060BEA01DF49E3E5D66214B8E01FE58F48C0FA4D9CECC5ED1CA533DDCD576A06385D7F3265AA66A38B27A0F80075C70728AFED9356BEDD3282BCD90138392957AEC900E8A473B37C23F569ED9C8C534DF88F13C2751FEB27E445C7B97CA35FE75ABFFD1319FE935F14CE479E1B610A3561D7465B259D1C9A7183BDDA282FA4CB55E6F6F3F6641AC3E0A60BE78DD5D60EC9DA852516055FBCBEEBA452748A23576ED40CA7D661E6C9252580BE92A456B5FAE38C98EE733789C6F18D7001D4C0C79DB61F58C505884C34B31B3732C9EBE81D22AE40896DFC03C2B0EE6673C8D94DF83E5FBEF048B41A97E6A0EE6E90A35AF65326BC629266A563B90ACB06D3B628F3BFFD2165516C5785E90126DF305F2A8B64FC5BFCDBC72DCB93FA1F85504DE5E1EF109BC31ECA7BFE6B919265DCFD0A9C87C985DECB354BDB2DD4BF0AD1E0E6C09DC454173CF9DE20467604AF50E0EBE8C630BB7D729812B26B7BD6F9AEA26DC3B4B79DBC97D1A1F135A6C417E5FF7509348C7DAE6AA7F938C8D91351A372A53B2EEBF2FCB456A0EAF9A5A7A451699E2A607FCC88CEC8D4FB0FEF4025DA0A48A7A77079705B678A671299EF5EFDB8179397F9EB887B0D22CE49637919499E95E992DD13A04155976FEBE68BAB2F2D3F38BACC48F9B72ED358C13CCEA7069FB48F345E47A312FEA15FA43E664BA02574F922DE4C897E2682F97D1FE27CED4778FBB9EF900478874FFAE31B1EFA3EED9BDB5CE322F6B2EBA5387180802052A7D7CA77162A64AD1B2C661B03F59F3B0E46718280946A74548F98C40CE135A9647329EB3AB41F3AB99943167649C16C527B866B31EBF8A4E9FD12238FB70D4A9CF2966BD2E72D31B0F5FB6B2784878ED6E191358F7E92D3A51E775586BEC94DE1E609E29D368715FA13F763ED05AB853182FB6796A8B58B8F873AEA32109A5F4EAD2F6EA7278D65A7CA5220EEFF13E70D6A1DA05617313D23F2F530673EA257D216419787B168D69FBD6D3AFEACBBE9715D6CD51E7EC3F5624E93C499667121AEE43DAB87D3E4F9C6A24F96A0617DFEFD2A5ACE89D6B10400920B195C374E2F26E92213D2C8B59BB3D68C618F3C6D8FD65D636439F3C6611FE2D79E5937096FB2409B4632DAF2396D4A1E7ABC93B1FA36F87A0F04FC73CE34223F4D1924A462737A934A33AA59EC58D7971ABB5C1A14D7FADCF3BB5038288F075F9FCF8089EE28A9166FE4398AA98C1D56205A8FBF0B4D6B210F3533578F948D23A3F53E91857997E17787E5CE2579F0F75C3049D1307873C62DC9D82DB26C6D53A3926118287DB4AE09423A8E3F1725BB61E57B2515E58DFD2E07938D6D3BCEB67975371EA2457F79791E1F217CDB788A7304EF4F37DCC8F13E427A4E900FBBEC2A654CC46FDC66DF4930F6D5F87C968D132F4319D0C991459B3E2A73D287410E4A16D99E2ED5154D11F18033151FF65E3A687E05EF742C39DB25D8A48C60992B32DEF88418A3AFADDCF0E2A6A9DD04FAFE5E2772A148D3FACC9472FF2B99BF6589496A9217F8E36112C984428EE4E1A27565916D9B50DF49CEA765567ECCABE3F2B9EA99E3D99A2F561FBA082A10C373C4B7BD90E7C690FB033CD155630CA67BC998798B0BEC54CB48885E920D683EBF67997273849323A7BBA4FAE356B2D234A7A027BDFCA31870F2288D90306883C6A16C9875A839A372946551B94F3BBDB7D8F404A124A2698A4FE2C24C8F6386F44C61654EBE9F32A345BA3BDA05BCFA374610DF637193E7ABE343BB584D56C33A12DC3E48FC774C8AD8AE0984DB2ED2B2F4D018BFB95BCFE7B409D5DD726D9F5F41D52FA4E3357F67DBDD2F4FAB9AFE3F9C9758CADE4C5F5E227665D92B1C253EAE861279F4377F5E4E3E679DA9AC5FBF5A6328F89C7280FB34D92D51F68224FA9DDB7101BDA9DA726CFD1DC2FF37418DB191923DFBE6C6DB4C3C918B317E0D079D2F9C7742C956CD41F6D0A0DD4B097FDEA56331C933D5DCE002AA5276C1A82C4F19E330478A740E58DD1014D85AF621172DDDFBF45D5BFDDA9F0D56BB434F79FDEB8E675A54D7FF6A3D38C5C2B9E42637E0CF51E25930B96A32594F1C9FD3A684BFF85AD4B2AC561988CCDA77FBDC38CAE78E179C330F376E9C76661B723A6C65FA62ED9D7C719257CE630207165585F0ACB6083AE58F1E15C37B6BB37F244A414670D5E5FFA898EB937ADAD735776F0EA3BC3D83E09534B03FD6F1310A3E1BC946B445C02E78508AA38DC6F0F70B091B019853E53E2BBFC22280BC5E622CE8ECF6B212511B73688E7C676C917A4202FD004253CFBDDE555F2D40E5EF523CF1F582BB1B06E65F304FDC5AB7F5ED622CAFBA8F7ECAA6B5E31BB7F2EB32263FD85E25F61E270D4EC66AFCFC077A1C22788C2EE3B01090622D77C9BC3A8259B3D8BF1E5184C4DB17CEAED5A14F9A7BC70E4833B4D16470F8DD626FA0AABFB234ACC4BB8CD13956B36FB3F48ABC3056CA5D2E05161E0D65D50DA752F3DF5F71DA06AC263AB82F2688386825B47F7809B49EDA488C78FE637EDFC5FD234E662E269D9FA13BB7257362244131634CEF3B80CF457289EFDD95238786F0F987214793D6764647C786FE8DF0012A7528D]
Point(doBitmap)
link(onBitmap,2881753:doLoad,[])
}
Add(Timer,4223213,224,126)
{
Interval=30
link(onTimer,11791179:doNext,[])
}
Add(Counter,11791179,266,126)
{
Max=359
link(onNext,4383299:doCalc,[])
}
Add(MathParse,4383299,315,126)
{
DataCount=1
MathStr="50*(0.3*sin(%1)+0.2*sin(2*%1)+0.3*sin(3*%1)+0.2*sin(4*%1))-50"
ResultType=0
AngleMode=1
link(onResult,9446608:doCalc,[])
}
Add(MathParse,9446608,357,126)
{
DataCount=1
MathStr="35*(0.3*cos(%1)+0.2*cos(2*%1)+0.3*cos(3*%1)+0.2*cos(4*%1))-35"
ResultType=0
AngleMode=1
link(onResult,16084042:doRefresh,[])
link(X1,11791179:Count,[(363,117)(307,117)(307,169)(272,169)])
}

карма: 14

0
Ответов: 198
Рейтинг: 2
#3: 2017-06-28 13:28:34 ЛС | профиль | цитата
Леонид, Да я только за, что бы было получше. Мне бы просто корректируемую основу на JS, а то уж очень не хочется учить ее синтаксис ради одной задачи.

Я не знаю возможностей этого языка.

Редактировалось 1 раз(а), последний 2017-06-28 13:32:56
карма: 0

0
Ответов: 1729
Рейтинг: 66
#4: 2017-06-28 22:47:45 ЛС | профиль | цитата
SkyPrinceRus, тут лучше воспользоваться CSS анимациями
карма: 1

0
4
Сообщение
...
Прикрепленные файлы
(файлы не залиты)